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

Issue 2609923002: Use runAfterLayoutAndPaint instead of requestAnimationFrame and (Closed)

Created:
3 years, 11 months ago by Dan Elphick
Modified:
3 years, 11 months ago
Reviewers:
majidvp
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace unsafe use of requestAnimationFrame and setTimeout in layout test. Use runAfterLayoutAndPaint instead of requestAnimationFrame and setTimeout(..., 0) as it's simpler and will continue to work when setTimeout no longer waits at least 1ms. BUG=402694 Committed: https://crrev.com/e0a0a27614fda9738ab167ef2dfde92ff7d5b58f Cr-Commit-Position: refs/heads/master@{#441355}

Patch Set 1 #

Total comments: 2

Patch Set 2 : update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -11 lines) Patch
M third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html View 1 2 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Dan Elphick
FYI: https://groups.google.com/a/chromium.org/d/msg/blink-dev/Hn3GxRLXmR0/XP9xcY_gBPQJ has a discussion of the correct way to use requestAnimationFrame and setTimeout to ...
3 years, 11 months ago (2017-01-03 17:40:56 UTC) #5
majidvp
On 2017/01/03 17:40:56, delphick wrote: > FYI: > https://groups.google.com/a/chromium.org/d/msg/blink-dev/Hn3GxRLXmR0/XP9xcY_gBPQJ > has a discussion of the ...
3 years, 11 months ago (2017-01-03 18:22:03 UTC) #6
majidvp
https://codereview.chromium.org/2609923002/diff/1/third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html File third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html (right): https://codereview.chromium.org/2609923002/diff/1/third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html#newcode42 third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html:42: // Verify we now have a hit rect on ...
3 years, 11 months ago (2017-01-03 18:22:14 UTC) #7
Dan Elphick
https://codereview.chromium.org/2609923002/diff/1/third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html File third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html (right): https://codereview.chromium.org/2609923002/diff/1/third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html#newcode42 third_party/WebKit/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html:42: // Verify we now have a hit rect on ...
3 years, 11 months ago (2017-01-04 09:22:29 UTC) #11
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/2609923002/20001
3 years, 11 months ago (2017-01-04 09:23:14 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 11:19:51 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 11:21:45 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e0a0a27614fda9738ab167ef2dfde92ff7d5b58f
Cr-Commit-Position: refs/heads/master@{#441355}

Powered by Google App Engine
This is Rietveld 408576698