Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp

Issue 13880009: Include timestamp with vsync-delineating input events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
index 8f1cf68e5c4ce64f536428e4ed46dc6c5a7225d7..fc2271524b468c522b04a401320f69df781f70ab 100644
--- a/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
+++ b/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
@@ -112,7 +112,7 @@ void WebCompositorInputHandlerImpl::handleInputEvent(const WebInputEvent& event)
break;
}
if (event.modifiers & WebInputEvent::IsLastInputEventForCurrentVSync)
- m_inputHandlerClient->didReceiveLastInputEventForVSync();
+ m_inputHandlerClient->didReceiveLastInputEventForVSync(event.timeStampSeconds);
}
WebCompositorInputHandlerImpl::EventDisposition WebCompositorInputHandlerImpl::handleInputEventInternal(const WebInputEvent& event)

Powered by Google App Engine
This is Rietveld 408576698