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

Unified Diff: cc/picture_layer_impl.h

Issue 11519018: [cc] Make LayerImpls point at LayerTreeImpl instead of LTHI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/picture_layer_impl.h
diff --git a/cc/picture_layer_impl.h b/cc/picture_layer_impl.h
index 8b1e4ebdca6cfe871e4ae7f05dd2a496dc2e09b3..2370150f82c0b1d489d394593c734d53e2dcd564 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(LayerTreeHostImpl* host, int id)
+ static scoped_ptr<PictureLayerImpl> create(LayerTreeImpl* treeImpl, int id)
{
- return make_scoped_ptr(new PictureLayerImpl(host, id));
+ return make_scoped_ptr(new PictureLayerImpl(treeImpl, id));
}
virtual ~PictureLayerImpl();
@@ -39,7 +39,7 @@ public:
void SyncFromActiveLayer(const PictureLayerImpl* other);
protected:
- PictureLayerImpl(LayerTreeHostImpl* host, int id);
+ PictureLayerImpl(LayerTreeImpl* treeImpl, int id);
PictureLayerTilingSet tilings_;
scoped_refptr<PicturePileImpl> pile_;
« cc/layer.h ('K') | « 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