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

Unified Diff: cc/tiled_layer_impl.h

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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/tiled_layer.cc ('k') | cc/tiled_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer_impl.h
diff --git a/cc/tiled_layer_impl.h b/cc/tiled_layer_impl.h
index 73c757b89441e858ad10c5e20556823e2ff1e592..863831065c587db2299a4b896c4850d79531cbb9 100644
--- a/cc/tiled_layer_impl.h
+++ b/cc/tiled_layer_impl.h
@@ -15,9 +15,9 @@ class DrawableTile;
class CC_EXPORT TiledLayerImpl : public LayerImpl {
public:
- static scoped_ptr<TiledLayerImpl> create(int id)
+ static scoped_ptr<TiledLayerImpl> create(LayerTreeHostImpl* hostImpl, int id)
{
- return make_scoped_ptr(new TiledLayerImpl(id));
+ return make_scoped_ptr(new TiledLayerImpl(hostImpl, id));
}
virtual ~TiledLayerImpl();
@@ -36,7 +36,7 @@ public:
virtual void didLoseOutputSurface() OVERRIDE;
protected:
- explicit TiledLayerImpl(int id);
+ TiledLayerImpl(LayerTreeHostImpl* hostImpl, int id);
// Exposed for testing.
bool hasTileAt(int, int) const;
bool hasResourceIdForTileAt(int, int) const;
« no previous file with comments | « cc/tiled_layer.cc ('k') | cc/tiled_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698