Title: [164724] trunk/Source/WebCore
- Revision
- 164724
- Author
- eric.carl...@apple.com
- Date
- 2014-02-26 10:48:16 -0800 (Wed, 26 Feb 2014)
Log Message
Fix builds that don't define IMAGE_CONTROLS.
* page/ContextMenuContext.cpp:
(WebCore::ContextMenuContext::ContextMenuContext):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (164723 => 164724)
--- trunk/Source/WebCore/ChangeLog 2014-02-26 18:36:44 UTC (rev 164723)
+++ trunk/Source/WebCore/ChangeLog 2014-02-26 18:48:16 UTC (rev 164724)
@@ -1,5 +1,12 @@
2014-02-26 Eric Carlson <eric.carl...@apple.com>
+ Fix builds that don't define IMAGE_CONTROLS.
+
+ * page/ContextMenuContext.cpp:
+ (WebCore::ContextMenuContext::ContextMenuContext):
+
+2014-02-26 Eric Carlson <eric.carl...@apple.com>
+
Build fix for OS X after r164720.
* page/ContextMenuContext.cpp:
Modified: trunk/Source/WebCore/page/ContextMenuContext.cpp (164723 => 164724)
--- trunk/Source/WebCore/page/ContextMenuContext.cpp 2014-02-26 18:36:44 UTC (rev 164723)
+++ trunk/Source/WebCore/page/ContextMenuContext.cpp 2014-02-26 18:48:16 UTC (rev 164724)
@@ -42,10 +42,11 @@
: m_hitTestResult(hitTestResult)
#if ENABLE(IMAGE_CONTROLS)
, m_isImageControl(isImageControl)
-#else
+#endif
+{
+#if !ENABLE(IMAGE_CONTROLS)
UNUSED_PARAM(isImageControl);
#endif
-{
ASSERT_UNUSED(isImageControl, true);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes