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

Issue 455963002: RenderLayer::hasVisibleDescendant should ASSERT(!m_visibleDescendantStatusDirty) (Closed)

Created:
6 years, 4 months ago by abarth-chromium
Modified:
6 years, 4 months ago
Reviewers:
chrishtr, skobes
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-rendering, chrishtr, eae+blinkwatch, eseidel, esprehn, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

RenderLayer::hasVisibleDescendant should ASSERT(!m_visibleDescendantStatusDirty) No one should be reading the hasVisibleDescendant state while its dirty. This CL adds an ASSERT to prevent that from happening and fixes the callers that are reading dirty state today. R=skobes@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179874

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M Source/core/rendering/RenderBox.cpp View 1 chunk +6 lines, -2 lines 3 comments Download
M Source/core/rendering/RenderLayer.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
abarth-chromium
6 years, 4 months ago (2014-08-08 20:31:01 UTC) #1
abarth-chromium
6 years, 4 months ago (2014-08-08 20:31:15 UTC) #2
abarth-chromium
6 years, 4 months ago (2014-08-08 20:31:36 UTC) #3
chrishtr
Looks like this CL changed from the original description?
6 years, 4 months ago (2014-08-08 20:35:08 UTC) #4
abarth-chromium
On 2014/08/08 at 20:35:08, chrishtr wrote: > Looks like this CL changed from the original ...
6 years, 4 months ago (2014-08-08 20:38:11 UTC) #5
skobes
https://codereview.chromium.org/455963002/diff/1/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/455963002/diff/1/Source/core/rendering/RenderBox.cpp#newcode1968 Source/core/rendering/RenderBox.cpp:1968: layer->updateDescendantDependentFlags(); Why is this method, which doesn't seem like ...
6 years, 4 months ago (2014-08-08 20:43:18 UTC) #6
chrishtr
Oh never mind, misread the code.
6 years, 4 months ago (2014-08-08 20:51:46 UTC) #7
abarth-chromium
https://codereview.chromium.org/455963002/diff/1/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/455963002/diff/1/Source/core/rendering/RenderBox.cpp#newcode1968 Source/core/rendering/RenderBox.cpp:1968: layer->updateDescendantDependentFlags(); That's a good question. The answer is slightly ...
6 years, 4 months ago (2014-08-08 21:24:40 UTC) #8
skobes
https://codereview.chromium.org/455963002/diff/1/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/455963002/diff/1/Source/core/rendering/RenderBox.cpp#newcode1968 Source/core/rendering/RenderBox.cpp:1968: layer->updateDescendantDependentFlags(); On 2014/08/08 21:24:39, abarth wrote: > That's a ...
6 years, 4 months ago (2014-08-08 21:45:01 UTC) #9
abarth-chromium
On 2014/08/08 at 21:45:01, skobes wrote: > Got it... I'm fine with the approach here ...
6 years, 4 months ago (2014-08-08 21:47:30 UTC) #10
abarth-chromium
On 2014/08/08 at 21:47:30, abarth wrote: > On 2014/08/08 at 21:45:01, skobes wrote: > > ...
6 years, 4 months ago (2014-08-08 21:50:59 UTC) #11
skobes
lgtm
6 years, 4 months ago (2014-08-08 21:52:16 UTC) #12
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 4 months ago (2014-08-08 21:57:06 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/455963002/1
6 years, 4 months ago (2014-08-08 21:57:59 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 22:11:31 UTC) #15
Message was sent while issue was closed.
Change committed as 179874

Powered by Google App Engine
This is Rietveld 408576698