Index: cc/RenderSurfaceChromium.h |
diff --git a/cc/RenderSurfaceChromium.h b/cc/RenderSurfaceChromium.h |
index 22d8880a4bc7b66ec80c64882f421a2d170d7390..e9fa52203e5ed537f3d358c6f16916b068b6d18c 100644 |
--- a/cc/RenderSurfaceChromium.h |
+++ b/cc/RenderSurfaceChromium.h |
@@ -57,8 +57,11 @@ public: |
const IntRect& clipRect() const { return m_clipRect; } |
void setClipRect(const IntRect& clipRect) { m_clipRect = clipRect; } |
- void clearLayerList() { m_layerList.clear(); } |
Vector<RefPtr<LayerChromium> >& layerList() { return m_layerList; } |
+ // A no-op since DelegatedRendererLayers on the main thread don't have any |
+ // RenderPasses so they can't contribute to a surface. |
+ void addContributingDelegatedRenderPassLayer(LayerChromium*) { } |
+ void clearLayerLists() { m_layerList.clear(); } |
void setNearestAncestorThatMovesPixels(RenderSurfaceChromium* surface) { m_nearestAncestorThatMovesPixels = surface; } |
const RenderSurfaceChromium* nearestAncestorThatMovesPixels() const { return m_nearestAncestorThatMovesPixels; } |