Index: Source/core/rendering/RenderLayer.h |
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h |
index ed86a0c6dd4c85956900d5dc01c66957e3cef676..ce9b6f99c04e527722eab491a066a578ed226bc4 100644 |
--- a/Source/core/rendering/RenderLayer.h |
+++ b/Source/core/rendering/RenderLayer.h |
@@ -287,11 +287,7 @@ public: |
CompositedLayerMapping* ensureCompositedLayerMapping(); |
GraphicsLayer* graphicsLayerBacking() const; |
GraphicsLayer* graphicsLayerBackingForScrolling() const; |
- // NOTE: If you are using hasCompositedLayerMapping to determine the state of compositing for this layer, |
- // (and not just to do bookkeeping related to the mapping like, say, allocating or deallocating a mapping), |
- // then you may have incorrect logic. Use compositingState() instead. |
- // FIXME: This is identical to null checking compositedLayerMapping(), why not just call that? |
- bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get(); } |
+ |
void clearCompositedLayerMapping(bool layerBeingDestroyed = false); |
CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } |
void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBeingDestroyed = false); |