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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2542693002: Use WTF::TimeTicks to represent timestamp in Platform/Core event types (Closed)
Patch Set: Minor fixes and revert change in histogram Created 4 years 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: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 36cfad32c04150271df88057bed946431469a1a9..91695d538dce22b4dc17136111e1229a3cb44859 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1949,7 +1949,7 @@ void WebViewImpl::beginFrame(double lastFrameTimeMonotonic) {
PlatformGestureEvent endScrollEvent(
PlatformEvent::GestureScrollEnd, m_positionOnFlingStart,
- m_globalPositionOnFlingStart, IntSize(), 0,
+ m_globalPositionOnFlingStart, IntSize(), TimeTicks::Now(),
majidvp 2016/12/05 16:37:35 Note: here we go from 0 -> TimeTicks::Now(). But t
PlatformEvent::NoModifiers,
lastFlingSourceDevice == WebGestureDeviceTouchpad
? PlatformGestureSourceTouchpad

Powered by Google App Engine
This is Rietveld 408576698