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

Issue 211103007: Don't access compositing state for blending in RenderLayer add/remove child (Closed)

Created:
6 years, 9 months ago by Stephen Chennney
Modified:
6 years, 9 months ago
Reviewers:
Stephen White
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, jchaffraix+rendering, pdr., rune+blink, Rik, mitica
Visibility:
Public.

Description

Don't access compositing state for blending in RenderLayer add/remove child Code to update the blending status in the RenderLayer hierarchy when a child is added or removed current invokes paintsWithBlendMode which calls compositingState() when it should not. This patch removes the compositing state check in this case, which means we may do more work. All existing tests pass. R=senorblanco@chromium.org BUG=343759 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170220

Patch Set 1 : Removed comments #

Patch Set 2 : Removed additional case #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -7 lines) Patch
M Source/core/rendering/RenderLayer.cpp View 1 4 chunks +4 lines, -7 lines 2 comments Download

Messages

Total messages: 21 (0 generated)
Stephen Chennney
Adobe folks, could you take a look and comment on how sensible this is. We ...
6 years, 9 months ago (2014-03-25 16:06:29 UTC) #1
mitica
On 2014/03/25 16:06:29, Stephen Chenney wrote: > Adobe folks, could you take a look and ...
6 years, 9 months ago (2014-03-25 16:16:17 UTC) #2
Stephen Chennney
+rosca
6 years, 9 months ago (2014-03-25 16:45:50 UTC) #3
rosca
On 2014/03/25 16:45:50, Stephen Chenney wrote: > +rosca I think we should remove paintsWithBlendMode from ...
6 years, 9 months ago (2014-03-25 18:06:42 UTC) #4
Stephen White
LGTM (but I won't commit).
6 years, 9 months ago (2014-03-25 18:32:27 UTC) #5
Stephen Chennney
More compositing checks removed. I wonder why the assertion code never asserted on those. Anyway, ...
6 years, 9 months ago (2014-03-26 14:37:51 UTC) #6
rosca
https://codereview.chromium.org/211103007/diff/110001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (left): https://codereview.chromium.org/211103007/diff/110001/Source/core/rendering/RenderLayer.cpp#oldcode862 Source/core/rendering/RenderLayer.cpp:862: || (childLayerHasBlendMode && !child->stackingNode()->isStackingContext()); On 2014/03/26 14:37:52, Stephen Chenney ...
6 years, 9 months ago (2014-03-27 14:52:32 UTC) #7
Stephen Chennney
I'll commit this and, rosca, you can come on in and fix the logic and ...
6 years, 9 months ago (2014-03-27 16:55:59 UTC) #8
Stephen Chennney
The CQ bit was checked by schenney@chromium.org
6 years, 9 months ago (2014-03-27 16:56:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/schenney@chromium.org/211103007/110001
6 years, 9 months ago (2014-03-27 16:56:25 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 17:01:34 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 9 months ago (2014-03-27 17:01:35 UTC) #12
Stephen Chennney
The CQ bit was checked by schenney@chromium.org
6 years, 9 months ago (2014-03-27 18:16:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/schenney@chromium.org/211103007/110001
6 years, 9 months ago (2014-03-27 18:16:50 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 19:59:53 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-27 19:59:54 UTC) #16
Stephen Chennney
The CQ bit was checked by schenney@chromium.org
6 years, 9 months ago (2014-03-27 20:53:26 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/schenney@chromium.org/211103007/110001
6 years, 9 months ago (2014-03-27 20:53:41 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 22:32:40 UTC) #19
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-27 22:32:40 UTC) #20
Stephen Chennney
6 years, 9 months ago (2014-03-27 23:37:59 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 manually as r170220 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698