Chromium Code Reviews| Index: Source/core/rendering/RenderLayer.h |
| diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
| index e5f2a4875d1c5e22b0d1335ae1f8aad16c99b2bf..aa1e5078ca0de379a4d39dc11102bfdea5c8f78d 100644 |
| --- a/Source/core/rendering/RenderLayer.h |
| +++ b/Source/core/rendering/RenderLayer.h |
| @@ -171,13 +171,15 @@ public: |
| bool subtreeIsInvisible() const { return !hasVisibleContent() && !hasVisibleDescendant(); } |
| - // 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; } |
| + // FIXME: hasVisibleDescendant() should call updateDescendantDependentFlags() if m_visibleContentStatusDirty. |
|
skobes
2014/08/08 21:59:42
hasVisibleDescendant -> hasVisibleContent
|
| + bool hasVisibleContent() const { ASSERT(!m_visibleContentStatusDirty); return m_hasVisibleContent; } |
| + |
| + // FIXME: hasVisibleDescendant() should call updateDescendantDependentFlags() if m_visibleDescendantStatusDirty. |
| bool hasVisibleDescendant() const { ASSERT(!m_visibleDescendantStatusDirty); return m_hasVisibleDescendant; } |
| void setHasVisibleContent(); |
| void dirtyVisibleContentStatus(); |
| + void potentiallyDirtyVisibleContentStatus(EVisibility); |
| bool hasBoxDecorationsOrBackground() const; |
| bool hasVisibleBoxDecorations() const; |