Index: cc/layer_impl.h |
diff --git a/cc/layer_impl.h b/cc/layer_impl.h |
index 89827af439dff290937819b3465097cb2491f3c0..93988400e2c737db1f309f3496deb9d7cef6a578 100644 |
--- a/cc/layer_impl.h |
+++ b/cc/layer_impl.h |
@@ -95,6 +95,7 @@ public: |
virtual ResourceProvider::ResourceId contentsResourceId() const; |
+ virtual bool hasDelegatedContent() const; |
virtual bool hasContributingDelegatedRenderPasses() const; |
virtual RenderPass::Id firstContributingRenderPassId() const; |
virtual RenderPass::Id nextContributingRenderPassId(RenderPass::Id) const; |
@@ -106,11 +107,6 @@ public: |
bool forceRenderSurface() const { return m_forceRenderSurface; } |
void setForceRenderSurface(bool force) { m_forceRenderSurface = force; } |
- // Returns 0 if none of the layer's descendants has content to draw, |
- // 1 if exactly one descendant has content to draw, or a number >1 |
- // (but necessary the exact number of descendants) otherwise. |
- virtual int descendantsDrawContent(); |
- |
void setAnchorPoint(const gfx::PointF&); |
const gfx::PointF& anchorPoint() const { return m_anchorPoint; } |