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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 309743002: Move computation of RenderLayer::isUnclippedDescendant into CompositingPropertyUpdater (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: less assert Created 6 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
Index: Source/core/rendering/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index 7d6ebd296dc1eca7f455eeec636a5d0a381083df..b952e683ad6fd946fafebca77b00f45e3c07abc1 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -101,10 +101,6 @@ public:
// created, destroyed or re-parented).
void setCompositingLayersNeedRebuild();
- // Updating properties required for determining if compositing is necessary.
- void updateCompositingRequirementsState();
- void setNeedsUpdateCompositingRequirementsState() { m_needsUpdateCompositingRequirementsState = true; }
-
// Used to indicate that a compositing update will be needed for the next frame that gets drawn.
void setNeedsCompositingUpdate(CompositingUpdateType);
@@ -180,9 +176,6 @@ public:
GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVerticalScrollbar.get(); }
GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.get(); }
- void addOutOfFlowPositionedLayer(RenderLayer*);
- void removeOutOfFlowPositionedLayer(RenderLayer*);
-
void resetTrackedRepaintRects();
void setTracksRepaints(bool);
@@ -280,7 +273,6 @@ private:
// except the one in updateIfNeeded, then rename this to
// m_compositingDirty.
bool m_rootShouldAlwaysCompositeDirty;
- bool m_needsUpdateCompositingRequirementsState;
bool m_needsUpdateFixedBackground;
bool m_isTrackingRepaints; // Used for testing.
@@ -290,10 +282,6 @@ private:
OwnPtr<GraphicsLayer> m_containerLayer;
OwnPtr<GraphicsLayer> m_scrollLayer;
- // This is used in updateCompositingRequirementsState to avoid full tree
- // walks while determining if layers have unclipped descendants.
- HashSet<RenderLayer*> m_outOfFlowPositionedLayers;
-
// Enclosing layer for overflow controls and the clipping layer
OwnPtr<GraphicsLayer> m_overflowControlsHostLayer;

Powered by Google App Engine
This is Rietveld 408576698