Unreviewed mac compile fix (unused parameter warning)
authorjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Feb 2012 00:50:03 +0000 (00:50 +0000)
committerjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Feb 2012 00:50:03 +0000 (00:50 +0000)
* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange):
(WebCore::ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108142 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm

index 029d385..af65d10 100644 (file)
@@ -1,3 +1,11 @@
+2012-02-17  James Robinson  <jamesr@chromium.org>
+
+        Unreviewed mac compile fix (unused parameter warning)
+
+        * page/scrolling/ScrollingCoordinator.cpp:
+        (WebCore::ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange):
+        (WebCore::ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange):
+
 2012-02-14  James Robinson  <jamesr@chromium.org>
 
         Move ScrollingCoordinator out of ENABLE(THREADED_SCROLLING) ifdef and enable on all platforms
index d2ae107..bdf3d68 100644 (file)
@@ -292,12 +292,12 @@ void ScrollingCoordinator::updateShouldUpdateScrollLayerPositionOnMainThread()
 }
 
 #if !ENABLE(THREADED_SCROLLING) && !PLATFORM(CHROMIUM)
-void ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange(FrameView*, GraphicsLayer* horizontalScrollbarLayer)
+void ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange(FrameView*, GraphicsLayer*)
 {
     ASSERT_NOT_REACHED();
 }
 
-void ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange(FrameView*, GraphicsLayer* verticalScrollbarLayer)
+void ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange(FrameView*, GraphicsLayer*)
 {
     ASSERT_NOT_REACHED();
 }
index 08fbce2..a713cd4 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "config.h"
 
+#if ENABLE(THREADED_SCROLLING)
+
 #import "ScrollingCoordinator.h"
 
 #import "FrameView.h"
@@ -64,3 +66,4 @@ void ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange(FrameView* f
 
 } // namespace WebCore
 
+#endif // ENABLE(THREADED_SCROLLING)