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

Issue 2326643002: Use monotonic time instead of current time in autoscroll controller (Closed)

Created:
4 years, 3 months ago by sunyunjia
Modified:
4 years, 3 months ago
Reviewers:
bokan, dtapuska
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use monotonic time instead of current time in autoscroll controller Use of a wall clock to drive an animation is dangerous. We should be using the monotinic time. BUG=645098 Committed: https://crrev.com/7d69521b65cd8d03eabe16411c7198dd1520d382 Cr-Commit-Position: refs/heads/master@{#417365}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M third_party/WebKit/Source/core/page/AutoscrollController.cpp View 2 chunks +1 line, -3 lines 2 comments Download

Messages

Total messages: 16 (9 generated)
sunyunjia
PTAL. Thanks!
4 years, 3 months ago (2016-09-08 17:59:24 UTC) #5
dtapuska
https://codereview.chromium.org/2326643002/diff/1/third_party/WebKit/Source/core/page/AutoscrollController.cpp File third_party/WebKit/Source/core/page/AutoscrollController.cpp (right): https://codereview.chromium.org/2326643002/diff/1/third_party/WebKit/Source/core/page/AutoscrollController.cpp#newcode245 third_party/WebKit/Source/core/page/AutoscrollController.cpp:245: if (WTF::monotonicallyIncreasingTime() - m_dragAndDropAutoscrollStartTime > autoscrollDelay) You are going ...
4 years, 3 months ago (2016-09-08 18:09:52 UTC) #6
dtapuska
lgtm https://codereview.chromium.org/2326643002/diff/1/third_party/WebKit/Source/core/page/AutoscrollController.cpp File third_party/WebKit/Source/core/page/AutoscrollController.cpp (right): https://codereview.chromium.org/2326643002/diff/1/third_party/WebKit/Source/core/page/AutoscrollController.cpp#newcode245 third_party/WebKit/Source/core/page/AutoscrollController.cpp:245: if (WTF::monotonicallyIncreasingTime() - m_dragAndDropAutoscrollStartTime > autoscrollDelay) On 2016/09/08 ...
4 years, 3 months ago (2016-09-08 18:16:27 UTC) #7
bokan
lgtm
4 years, 3 months ago (2016-09-08 18:16:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2326643002/1
4 years, 3 months ago (2016-09-08 19:35:27 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-08 19:40:00 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 19:42:11 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7d69521b65cd8d03eabe16411c7198dd1520d382
Cr-Commit-Position: refs/heads/master@{#417365}

Powered by Google App Engine
This is Rietveld 408576698