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

Issue 1787733003: Consolidate background fill layer opaqueness into one method (Closed)

Created:
4 years, 9 months ago by Stephen Chennney
Modified:
4 years, 9 months ago
Reviewers:
trchen
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-style_chromium.org, slimming-paint-reviews_chromium.org, blink-reviews-paint_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidate background fill layer opaqueness into one method Move all the logic for determining if a background layer is opaque into FillLayer. Also add repeat round as a opaque tiling mode. R=trchen@chromium.org BUG=593437 Committed: https://crrev.com/e3ab046fcbe969bd1b38a0361f7d583998365c2c Cr-Commit-Position: refs/heads/master@{#382301}

Patch Set 1 #

Total comments: 2

Patch Set 2 : A new way to refactor #

Total comments: 5

Patch Set 3 : Remove redundant checks #

Patch Set 4 : Better solution fixes previous failure #

Patch Set 5 : Fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -28 lines) Patch
M third_party/WebKit/Source/core/paint/BoxDecorationData.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/BoxPainter.cpp View 1 3 chunks +2 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/style/FillLayer.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/FillLayer.cpp View 1 2 3 4 2 chunks +30 lines, -14 lines 0 comments Download

Messages

Total messages: 39 (16 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/1
4 years, 9 months ago (2016-03-11 21:22:19 UTC) #2
Stephen Chennney
I renamed the FillLayer method to backgroundImageIsOpaque, working on the principle that the CSS property ...
4 years, 9 months ago (2016-03-11 21:23:09 UTC) #3
trchen
On 2016/03/11 21:23:09, Stephen Chenney wrote: > I renamed the FillLayer method to backgroundImageIsOpaque, working ...
4 years, 9 months ago (2016-03-11 22:01:18 UTC) #4
trchen
https://codereview.chromium.org/1787733003/diff/1/third_party/WebKit/Source/core/style/FillLayer.cpp File third_party/WebKit/Source/core/style/FillLayer.cpp (right): https://codereview.chromium.org/1787733003/diff/1/third_party/WebKit/Source/core/style/FillLayer.cpp#newcode373 third_party/WebKit/Source/core/style/FillLayer.cpp:373: bool FillLayer::backgroundImageIsOpaque(const LayoutObject& imageClient, const float effectiveZoom) const I ...
4 years, 9 months ago (2016-03-11 22:13:33 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-11 22:58:32 UTC) #7
Stephen Chennney
And thanks for the heads-up about CSS masking. https://codereview.chromium.org/1787733003/diff/1/third_party/WebKit/Source/core/style/FillLayer.cpp File third_party/WebKit/Source/core/style/FillLayer.cpp (right): https://codereview.chromium.org/1787733003/diff/1/third_party/WebKit/Source/core/style/FillLayer.cpp#newcode373 third_party/WebKit/Source/core/style/FillLayer.cpp:373: bool ...
4 years, 9 months ago (2016-03-14 14:59:35 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/20001
4 years, 9 months ago (2016-03-16 20:50:08 UTC) #10
Stephen Chennney
The only alternative I can think of to this is to switch on the composite ...
4 years, 9 months ago (2016-03-16 20:54:16 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/40001
4 years, 9 months ago (2016-03-16 20:55:40 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/190040)
4 years, 9 months ago (2016-03-16 22:18:33 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/60001
4 years, 9 months ago (2016-03-18 17:50:21 UTC) #18
Stephen Chennney
Moving to a switch statement on the compositing state. This is looking more and more ...
4 years, 9 months ago (2016-03-18 17:50:41 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/184620)
4 years, 9 months ago (2016-03-18 18:40:34 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/80001
4 years, 9 months ago (2016-03-18 19:23:23 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/6505) ios_dbg_simulator_ninja on ...
4 years, 9 months ago (2016-03-18 19:26:35 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/100001
4 years, 9 months ago (2016-03-18 19:28:52 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 20:35:40 UTC) #29
trchen
lgtm. Thank you for the cleanup!
4 years, 9 months ago (2016-03-18 21:48:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/100001
4 years, 9 months ago (2016-03-21 13:28:18 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/199551)
4 years, 9 months ago (2016-03-21 14:46:47 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787733003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787733003/100001
4 years, 9 months ago (2016-03-21 14:55:17 UTC) #36
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 9 months ago (2016-03-21 16:02:49 UTC) #37
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 16:04:49 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e3ab046fcbe969bd1b38a0361f7d583998365c2c
Cr-Commit-Position: refs/heads/master@{#382301}

Powered by Google App Engine
This is Rietveld 408576698