Title: [162473] trunk/Source/WebCore
- Revision
- 162473
- Author
- [email protected]
- Date
- 2014-01-21 13:45:19 -0800 (Tue, 21 Jan 2014)
Log Message
Fix the iOS Simulator release build
Substitute ASSERT_UNUSED() for ASSERT() to resolve a compiler warning
that the argument platformLayer is unused. The argument platformLayer
is only used in the asserted condition, which isn't compiled in a
release build; => the argument is unused in a release build.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (162472 => 162473)
--- trunk/Source/WebCore/ChangeLog 2014-01-21 21:33:22 UTC (rev 162472)
+++ trunk/Source/WebCore/ChangeLog 2014-01-21 21:45:19 UTC (rev 162473)
@@ -1,3 +1,15 @@
+2014-01-21 Daniel Bates <[email protected]>
+
+ Fix the iOS Simulator release build
+
+ Substitute ASSERT_UNUSED() for ASSERT() to resolve a compiler warning
+ that the argument platformLayer is unused. The argument platformLayer
+ is only used in the asserted condition, which isn't compiled in a
+ release build; => the argument is unused in a release build.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::parseAttribute):
+
2014-01-21 Zoltan Horvath <[email protected]>
Since MidpointState is a class, it should behave like a class
Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (162472 => 162473)
--- trunk/Source/WebCore/html/HTMLMediaElement.cpp 2014-01-21 21:33:22 UTC (rev 162472)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp 2014-01-21 21:45:19 UTC (rev 162473)
@@ -4926,7 +4926,7 @@
void HTMLMediaElement::returnPlatformLayer(PlatformLayer* platformLayer)
{
- ASSERT(m_platformLayerBorrowed && platformLayer == (m_player ? m_player->platformLayer() : nullptr));
+ ASSERT_UNUSED(platformLayer, m_platformLayerBorrowed && platformLayer == (m_player ? m_player->platformLayer() : nullptr));
m_platformLayerBorrowed = false;
if (renderer())
renderer()->updateFromElement();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes