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

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

Issue 209703002: Shrink RenderLayerCompositor by 5% by removing unused code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index b91ddbb9622b7f33f6fac942b29713972470ccb4..b2fcbe424c9116f44c319c6f9aba1540e7e15d5f 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -166,12 +166,6 @@ public:
void setIsInWindow(bool);
- void clearMappingForAllRenderLayers();
-
- // Walk the tree looking for layers with 3d transforms. Useful in case you need
- // to know if there is non-affine content, e.g. for drawing into an image.
- bool has3DContent() const;
-
static RenderLayerCompositor* frameContentsCompositor(RenderPart*);
// Return true if the layers changed.
static bool parentFrameContentLayers(RenderPart*);
@@ -273,8 +267,6 @@ private:
bool allocateOrClearCompositedLayerMapping(RenderLayer*, CompositingStateTransitionType compositedLayerUpdate);
bool updateSquashingAssignment(RenderLayer*, SquashingState&, CompositingStateTransitionType compositedLayerUpdate);
- void clearMappingForRenderLayerIncludingDescendants(RenderLayer*);
-
void recursiveRepaintLayer(RenderLayer*);
void addToOverlapMap(OverlapMap&, RenderLayer*, const IntRect& layerBounds);
@@ -289,18 +281,10 @@ private:
void assignLayersToBackings(RenderLayer*, bool& layersChanged);
void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, bool& layersChanged, RenderLayer* clippingAncestor);
- // Allocates, sets up hierarchy, and sets appropriate properties for the GraphicsLayers that correspond to a given
- // composited RenderLayer. Does nothing if the given RenderLayer does not have a CompositedLayerMapping.
- void updateGraphicsLayersMappedToRenderLayer(RenderLayer*);
-
- // Recurses down the tree, updating layer geometry only.
- void updateLayerTreeGeometry(RenderLayer*);
-
// Hook compositing layers together
void setCompositingParent(RenderLayer* childLayer, RenderLayer* parentLayer);
void removeCompositedChildren(RenderLayer*);
- bool layerHas3DContent(const RenderLayer*) const;
bool isRunningAcceleratedTransformAnimation(RenderObject*) const;
bool hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const;
@@ -324,9 +308,6 @@ private:
void addViewportConstrainedLayer(RenderLayer*);
- FixedPositionViewportConstraints computeFixedViewportConstraints(RenderLayer*) const;
- StickyPositionViewportConstraints computeStickyViewportConstraints(RenderLayer*) const;
-
bool requiresHorizontalScrollbarLayer() const;
bool requiresVerticalScrollbarLayer() const;
bool requiresScrollCornerLayer() const;
« no previous file with comments | « no previous file | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698