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

Issue 2484613003: Do not call internals.settings.setOverlayScrollbarsEnabled() in onload (Closed)

Created:
4 years, 1 month ago by hiroshige
Modified:
4 years, 1 month ago
Reviewers:
bokan
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not call internals.settings.setOverlayScrollbarsEnabled() in onload internals.settings.setOverlayScrollbarsEnabled() doesn't work well when it is called after ScrollbarTheme is initialized in the first layout. The CL [1] modifies the timing of document load event and makes onload() in fast/scrolling/scrollbar-tickmarks-hittest.html to be called after the first layout, and thus breaks the test. This CL moves setOverlayScrollbarsEnabled() to outside onload() such that it is called before ScrollbarTheme is initialized. [1] https://codereview.chromium.org/2269043002/ BUG=624697 TEST=fast/scrolling/scrollbar-tickmarks-hittest.html Committed: https://crrev.com/6253bb13131f4afaba8140133b1b865487b82006 Cr-Commit-Position: refs/heads/master@{#430284}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html View 2 chunks +4 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (13 generated)
hiroshige
Could you take a look?
4 years, 1 month ago (2016-11-07 11:12:18 UTC) #5
bokan
lgtm
4 years, 1 month ago (2016-11-07 12:13:10 UTC) #12
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/2484613003/1
4 years, 1 month ago (2016-11-07 16:08:32 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-07 16:14:15 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 16:42:44 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6253bb13131f4afaba8140133b1b865487b82006
Cr-Commit-Position: refs/heads/master@{#430284}

Powered by Google App Engine
This is Rietveld 408576698