Index: Source/core/rendering/RenderLayerBacking.h |
diff --git a/Source/core/rendering/RenderLayerBacking.h b/Source/core/rendering/RenderLayerBacking.h |
index 15bf17168f1c462031bcedfd07d0171cfecd27df..87789e246279bac4c4d3ccb4c3367dca7fe828af 100644 |
--- a/Source/core/rendering/RenderLayerBacking.h |
+++ b/Source/core/rendering/RenderLayerBacking.h |
@@ -100,14 +100,6 @@ public: |
GraphicsLayer* parentForSublayers() const; |
GraphicsLayer* childForSuperlayers() const; |
- // RenderLayers with backing normally short-circuit paintLayer() because |
- // their content is rendered via callbacks from GraphicsLayer. However, the document |
- // layer is special, because it has a GraphicsLayer to act as a container for the GraphicsLayers |
- // for descendants, but its contents usually render into the window (in which case this returns true). |
- // This returns false for other layers, and when the document layer actually needs to paint into its backing store |
- // for some reason. |
- bool paintsIntoWindow() const; |
- |
// Returns true for a composited layer that has no backing store of its own, so |
// paints into some ancestor layer. |
bool paintsIntoCompositedAncestor() const { return !m_requiresOwnBackingStore; } |