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_; |