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

Issue 2671323004: Set attached flag before we call didAddScrollbar (Closed)

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

Description

Set attached flag before we call didAddScrollbar This issue is caused by we call didAddScrollbar before set the attached flag. That makes FrameView::horizontalScrollbar, FrameView::verticalScrollbar always return null and ScrollableArea::setScrollbarOverlayColorTheme can not set OverlayColorTheme to ScrollbarThemeMac. In this patch we move the attached flag set before didAddScrollbar call. BUG=688516 Review-Url: https://codereview.chromium.org/2671323004 Cr-Commit-Position: refs/heads/master@{#448814} Committed: https://chromium.googlesource.com/chromium/src/+/b45a817c9a86d2d25ed6fba359abceafc728c2d3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
chaopeng
PTAL. Thank you.
3 years, 10 months ago (2017-02-06 21:39:32 UTC) #6
bokan
lgtm (Talked off-line, no tests because Mac scrollbars are notoriously difficult to test today - ...
3 years, 10 months ago (2017-02-07 22:22:40 UTC) #7
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/2671323004/1
3 years, 10 months ago (2017-02-07 22:35:28 UTC) #9
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 00:20:12 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b45a817c9a86d2d25ed6fba359ab...

Powered by Google App Engine
This is Rietveld 408576698