DescriptionDo 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 #
Dependent Patchsets: Messages
Total messages: 18 (13 generated)
|