Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1731)

Unified Diff: cc/RenderSurfaceChromium.h

Issue 10916307: Add the ubercomp DelegatedRendererLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OwnPtrVector Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/LayerChromium.h ('k') | cc/cc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « cc/LayerChromium.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698