Unreviewed windows build fix - avoid return statement after return if USE(ACCELERATED...
authorjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2012 21:57:06 +0000 (21:57 +0000)
committerjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2012 21:57:06 +0000 (21:57 +0000)
* page/scrolling/ScrollingCoordinator.cpp:
(WebCore::ScrollingCoordinator::coordinatesScrollingForFrameView):

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

Source/WebCore/ChangeLog
Source/WebCore/page/scrolling/ScrollingCoordinator.cpp

index cf14314..e524556 100644 (file)
@@ -1,5 +1,12 @@
 2012-02-21  James Robinson  <jamesr@chromium.org>
 
+        Unreviewed windows build fix - avoid return statement after return if USE(ACCELERATED_COMPOSITING) is set.
+
+        * page/scrolling/ScrollingCoordinator.cpp:
+        (WebCore::ScrollingCoordinator::coordinatesScrollingForFrameView):
+
+2012-02-21  James Robinson  <jamesr@chromium.org>
+
         ScrollingCoordinator::coordinatesScrollingForFrameView should be conditional on compositing being active
         https://bugs.webkit.org/show_bug.cgi?id=79126
 
index 83aa87a..d05fe83 100644 (file)
@@ -105,9 +105,9 @@ bool ScrollingCoordinator::coordinatesScrollingForFrameView(FrameView* frameView
     if (!renderView)
         return false;
     return renderView->usesCompositing();
-#endif
-
+#else
     return false;
+#endif
 }
 
 static Region computeNonFastScrollableRegion(FrameView* frameView)