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

Issue 2857333004: Don't paint empty scroll corner (Closed)

Created:
3 years, 7 months ago by szager1
Modified:
3 years, 7 months ago
Reviewers:
pdr., chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't paint empty scroll corner The existing logic for checking whether the compositor has a scroll corner layer is insufficient. When the compositor runs UpdateOverflowControlsLayers, it will delete its scroll corner layer if the scroll corner isn't visible. In this case, the paint code should not try to paint the scroll corner. The existing code causes a number of crashes in compositing tests when this patch is applied: https://codereview.chromium.org/2860433002 BUG=701575 R=pdr@chromium.org,chrishtr@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2857333004 Cr-Commit-Position: refs/heads/master@{#469370} Committed: https://chromium.googlesource.com/chromium/src/+/f240cb6e78c2d189ec6baabde91165b19b27a190

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M third_party/WebKit/Source/core/paint/FramePainter.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
szager1
3 years, 7 months ago (2017-05-04 14:51:15 UTC) #1
chrishtr
lgtm
3 years, 7 months ago (2017-05-04 15:11:31 UTC) #5
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/2857333004/1
3 years, 7 months ago (2017-05-04 17:27:18 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/f240cb6e78c2d189ec6baabde91165b19b27a190
3 years, 7 months ago (2017-05-04 17:34:17 UTC) #13
pdr.
3 years, 7 months ago (2017-05-04 17:46:25 UTC) #14
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698