Title: [111329] trunk/Source/WebKit/chromium
Revision
111329
Author
[email protected]
Date
2012-03-19 19:54:16 -0700 (Mon, 19 Mar 2012)

Log Message

Unreviewed chromium compile fix - put all TRACE_*s in their own scope explicitly.

* src/WebCompositorInputHandlerImpl.cpp:
(WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
(WebKit::WebCompositorInputHandlerImpl::handleGestureFling):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (111328 => 111329)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-03-20 02:52:47 UTC (rev 111328)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-03-20 02:54:16 UTC (rev 111329)
@@ -1,3 +1,11 @@
+2012-03-19  James Robinson  <[email protected]>
+
+        Unreviewed chromium compile fix - put all TRACE_*s in their own scope explicitly.
+
+        * src/WebCompositorInputHandlerImpl.cpp:
+        (WebKit::WebCompositorInputHandlerImpl::handleInputEventInternal):
+        (WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
+
 2012-03-19  Robert Kroeger  <[email protected]>
 
         [chromium] return true/false on GestureFlingCancel if a fling was stopped

Modified: trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp (111328 => 111329)


--- trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp	2012-03-20 02:52:47 UTC (rev 111328)
+++ trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp	2012-03-20 02:54:16 UTC (rev 111329)
@@ -175,11 +175,12 @@
         const WebMouseWheelEvent& wheelEvent = *static_cast<const WebMouseWheelEvent*>(&event);
         CCInputHandlerClient::ScrollStatus scrollStatus = m_inputHandlerClient->scrollBegin(IntPoint(wheelEvent.x, wheelEvent.y), CCInputHandlerClient::Wheel);
         switch (scrollStatus) {
-        case CCInputHandlerClient::ScrollStarted:
+        case CCInputHandlerClient::ScrollStarted: {
             TRACE_EVENT_INSTANT2("cc", "WebCompositorInputHandlerImpl::handleInput wheel scroll", "deltaX", -wheelEvent.deltaX, "deltaY", -wheelEvent.deltaY);
             m_inputHandlerClient->scrollBy(IntSize(-wheelEvent.deltaX, -wheelEvent.deltaY));
             m_inputHandlerClient->scrollEnd();
             return DidHandle;
+        }
         case CCInputHandlerClient::ScrollIgnored:
             return DropEvent;
         case CCInputHandlerClient::ScrollFailed:
@@ -264,15 +265,17 @@
         m_inputHandlerClient->scheduleAnimation();
         return DidHandle;
     }
-    case CCInputHandlerClient::ScrollFailed:
+    case CCInputHandlerClient::ScrollFailed: {
         TRACE_EVENT_INSTANT0("cc", "WebCompositorInputHandlerImpl::handleGestureFling::failed");
         return DidNotHandle;
-    case CCInputHandlerClient::ScrollIgnored:
+    }
+    case CCInputHandlerClient::ScrollIgnored: {
         TRACE_EVENT_INSTANT0("cc", "WebCompositorInputHandlerImpl::handleGestureFling::ignored");
         // We still pass the curve to the main thread if there's nothing scrollable, in case something
         // registers a handler before the curve is over.
         return DidNotHandle;
     }
+    }
     return DidNotHandle;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to