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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h

Issue 2540043002: Fix descendant-dependent PaintLayer flags update to not early-out when dirty. (Closed)
Patch Set: none Created 4 years, 1 month 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: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
index c834038dad8c82e6fb7f3e9d35fa7525eef6f7f8..5a1c15e4ecd31e92414ff934c1a823f5a91caf37 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.h
@@ -179,13 +179,6 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient {
String debugName(const GraphicsLayer*) const override;
DocumentLifecycle& lifecycle() const;
- bool needsUpdateDescendantDependentFlags() const {
- return m_needsUpdateDescendantDependentFlags;
- }
- void setNeedsUpdateDescendantDependentFlags() {
- m_needsUpdateDescendantDependentFlags = true;
- }
-
void updatePotentialCompositingReasonsFromStyle(PaintLayer*);
// Whether the layer could ever be composited.
@@ -274,7 +267,6 @@ class CORE_EXPORT PaintLayerCompositor final : public GraphicsLayerClient {
bool m_needsUpdateFixedBackground;
bool m_isTrackingRasterInvalidations; // Used for testing.
bool m_inOverlayFullscreenVideo;
- bool m_needsUpdateDescendantDependentFlags;
RootLayerAttachment m_rootLayerAttachment;

Powered by Google App Engine
This is Rietveld 408576698