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

Unified Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h

Issue 1149303002: Add a dirty bit for updateDescendantDependentFlags. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: try again. Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h
diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h
index 99e5c7ada79df1dab33e8ddaa6d67426919a3b15..12d0411af64f8b4233ab1c34d35b6587175575a8 100644
--- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h
+++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.h
@@ -159,6 +159,9 @@ public:
virtual String debugName(const GraphicsLayer*) override;
DocumentLifecycle& lifecycle() const;
+ bool needsUpdateDescendantDependentFlags() const { return m_needsUpdateDescendantDependentFlags; }
+ void setNeedsUpdateDescendantDependentFlags() { m_needsUpdateDescendantDependentFlags = true; }
+
void updatePotentialCompositingReasonsFromStyle(DeprecatedPaintLayer*);
// Whether the layer could ever be composited.
@@ -230,6 +233,8 @@ private:
bool m_rootShouldAlwaysCompositeDirty;
bool m_needsUpdateFixedBackground;
bool m_isTrackingPaintInvalidations; // Used for testing.
+ bool m_inOverlayFullscreenVideo;
+ bool m_needsUpdateDescendantDependentFlags;
RootLayerAttachment m_rootLayerAttachment;
@@ -244,8 +249,6 @@ private:
OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar;
OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
OwnPtr<GraphicsLayer> m_layerForScrollCorner;
-
- bool m_inOverlayFullscreenVideo;
};
} // namespace blink
« no previous file with comments | « no previous file | Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698