Index: cc/CCDelegatedRendererLayerImpl.h |
diff --git a/cc/CCDelegatedRendererLayerImpl.h b/cc/CCDelegatedRendererLayerImpl.h |
index 7203fafd04e7767ba31229f6d5df1a8f2ae06b08..b3f81046713a5ef8510fda45dff12f3397f07b08 100644 |
--- a/cc/CCDelegatedRendererLayerImpl.h |
+++ b/cc/CCDelegatedRendererLayerImpl.h |
@@ -30,6 +30,9 @@ public: |
void appendContributingRenderPasses(CCRenderPassSink&); |
virtual void appendQuads(CCQuadSink&, CCAppendQuadsData&) OVERRIDE; |
+ void createChild(); |
+ int childId() const { return m_childId; } |
+ |
private: |
explicit CCDelegatedRendererLayerImpl(int); |
@@ -40,9 +43,11 @@ private: |
PassOwnPtr<CCDrawQuad> createCopyOfQuad(const CCDrawQuad*); |
virtual const char* layerTypeAsString() const OVERRIDE; |
+ void clearChild(); |
ScopedPtrVector<CCRenderPass> m_renderPassesInDrawOrder; |
base::hash_map<CCRenderPass::Id, int> m_renderPassesIndexById; |
+ int m_childId; |
}; |
} |