Title: [135360] trunk/Source/WebCore
Revision
135360
Author
commit-qu...@webkit.org
Date
2012-11-21 01:09:43 -0800 (Wed, 21 Nov 2012)

Log Message

Unused parameters on ScrollingCoordinator.cpp
https://bugs.webkit.org/show_bug.cgi?id=102884

Patch by KyungTae Kim <ktf....@samsung.com> on 2012-11-21
Reviewed by Kentaro Hara.

Because the 'scrollingLayerPositionAction' parameter is not used when !USE(ACCELERATED_COMPOSITING),
use UNUSED_PARAM macro to fix build warning -Wunused-parameter

* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::updateMainFrameScrollPosition):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (135359 => 135360)


--- trunk/Source/WebCore/ChangeLog	2012-11-21 09:08:02 UTC (rev 135359)
+++ trunk/Source/WebCore/ChangeLog	2012-11-21 09:09:43 UTC (rev 135360)
@@ -1,3 +1,16 @@
+2012-11-21  KyungTae Kim  <ktf....@samsung.com>
+
+        Unused parameters on ScrollingCoordinator.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=102884
+
+        Reviewed by Kentaro Hara.
+
+        Because the 'scrollingLayerPositionAction' parameter is not used when !USE(ACCELERATED_COMPOSITING),
+        use UNUSED_PARAM macro to fix build warning -Wunused-parameter
+
+        * page/scrolling/ScrollingCoordinator.cpp:
+        (WebCore::ScrollingCoordinator::updateMainFrameScrollPosition):
+
 2012-11-21  Kentaro Hara  <hara...@chromium.org>
 
         [V8] Replace V8Parameter::prepare() with V8Parameter::operator=()

Modified: trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp (135359 => 135360)


--- trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp	2012-11-21 09:08:02 UTC (rev 135359)
+++ trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp	2012-11-21 09:09:43 UTC (rev 135360)
@@ -311,6 +311,8 @@
             syncChildPositions(viewportRect);
         }
     }
+#else
+    UNUSED_PARAM(scrollingLayerPositionAction);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to