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

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

Issue 2556793002: Fix fling endscroll timestamp issue (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dde84b132d622a1b43dd29a78c9a042811cef0c8..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(), TimeTicks(),
+ m_globalPositionOnFlingStart, IntSize(), TimeTicks::Now(),
PlatformEvent::NoModifiers,
lastFlingSourceDevice == WebGestureDeviceTouchpad
? PlatformGestureSourceTouchpad
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698