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

Unified Diff: Source/core/rendering/RenderLayer.h

Issue 455963002: RenderLayer::hasVisibleDescendant should ASSERT(!m_visibleDescendantStatusDirty) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index db73ce9a6e3eeb1679274b67e8033e34c988dde3..e5f2a4875d1c5e22b0d1335ae1f8aad16c99b2bf 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -174,7 +174,7 @@ public:
// FIXME: We should ASSERT(!m_visibleContentStatusDirty) here, but see https://bugs.webkit.org/show_bug.cgi?id=71044
// ditto for hasVisibleDescendant(), see https://bugs.webkit.org/show_bug.cgi?id=71277
bool hasVisibleContent() const { return m_hasVisibleContent; }
- bool hasVisibleDescendant() const { return m_hasVisibleDescendant; }
+ bool hasVisibleDescendant() const { ASSERT(!m_visibleDescendantStatusDirty); return m_hasVisibleDescendant; }
void setHasVisibleContent();
void dirtyVisibleContentStatus();
@@ -507,6 +507,7 @@ public:
void setShouldIsolateCompositedDescendants(bool);
void updateDescendantDependentFlags();
+ void updateDescendantDependentFlagsForEntireSubtree();
void updateOrRemoveFilterEffectRenderer();

Powered by Google App Engine
This is Rietveld 408576698