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

Unified Diff: cc/picture_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/picture_layer.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_impl.h
diff --git a/cc/picture_layer_impl.h b/cc/picture_layer_impl.h
index 7bc20188297666748e3d7ec50a3dd10751f44563..8b1e4ebdca6cfe871e4ae7f05dd2a496dc2e09b3 100644
--- a/cc/picture_layer_impl.h
+++ b/cc/picture_layer_impl.h
@@ -19,9 +19,9 @@ class QuadSink;
class CC_EXPORT PictureLayerImpl : public LayerImpl,
public PictureLayerTilingClient {
public:
- static scoped_ptr<PictureLayerImpl> create(int id)
+ static scoped_ptr<PictureLayerImpl> create(LayerTreeHostImpl* host, int id)
{
- return make_scoped_ptr(new PictureLayerImpl(id));
+ return make_scoped_ptr(new PictureLayerImpl(host, id));
}
virtual ~PictureLayerImpl();
@@ -39,7 +39,7 @@ public:
void SyncFromActiveLayer(const PictureLayerImpl* other);
protected:
- PictureLayerImpl(int id);
+ PictureLayerImpl(LayerTreeHostImpl* host, int id);
PictureLayerTilingSet tilings_;
scoped_refptr<PicturePileImpl> pile_;
« no previous file with comments | « cc/picture_layer.cc ('k') | cc/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698