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

Issue 2780883002: Correct overlay scrollbar check FrameView::scrollbarExistenceDidChange (Closed)

Created:
3 years, 8 months ago by bokan
Modified:
3 years, 8 months ago
Reviewers:
skobes
CC:
chromium-reviews, blink-reviews, blink-reviews-frames_chromium.org, kinuko+watch, chaopeng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Correct overlay scrollbar check FrameView::scrollbarExistenceDidChange This issue is caused by FrameView::scrollbarExistenceDidChange calculate usesOverlayScrollbars via check ScrollbarTheme::theme() only but ignore custom scrollbar then pass layout. In this patch, we add the custom scrollbar check to correct usesOverlayScrollbars. BUG=668387 Review-Url: https://codereview.chromium.org/2780883002 Cr-Commit-Position: refs/heads/master@{#460377} Committed: https://chromium.googlesource.com/chromium/src/+/b16307ca71933c12f9f1b85927a34f2052e86910

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -1 line) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp View 1 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
bokan
Steve, ptal. Note: this CL was original put up by chaopeng@ here: https://codereview.chromium.org/2744443003/ He was ...
3 years, 8 months ago (2017-03-28 21:11:50 UTC) #3
skobes
https://codereview.chromium.org/2780883002/diff/1/third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp File third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp (right): https://codereview.chromium.org/2780883002/diff/1/third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp#newcode58 third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp:58: DCHECK(ScrollbarTheme::theme().usesOverlayScrollbars()); Doesn't this DCHECK make the test crash on ...
3 years, 8 months ago (2017-03-28 21:22:34 UTC) #4
bokan
https://codereview.chromium.org/2780883002/diff/1/third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp File third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp (right): https://codereview.chromium.org/2780883002/diff/1/third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp#newcode58 third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp:58: DCHECK(ScrollbarTheme::theme().usesOverlayScrollbars()); On 2017/03/28 21:22:34, skobes wrote: > Doesn't this ...
3 years, 8 months ago (2017-03-28 21:26:32 UTC) #5
skobes
lgtm
3 years, 8 months ago (2017-03-28 21:27:31 UTC) #6
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/2780883002/1
3 years, 8 months ago (2017-03-28 21:30:58 UTC) #8
commit-bot: I haz the power
Exceeded global retry quota
3 years, 8 months ago (2017-03-28 21:41:15 UTC) #10
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/2780883002/20001
3 years, 8 months ago (2017-03-28 21:59:43 UTC) #13
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/2780883002/20001
3 years, 8 months ago (2017-03-29 13:27:45 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 14:09:35 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b16307ca71933c12f9f1b85927a3...

Powered by Google App Engine
This is Rietveld 408576698