Index: cc/layers/picture_layer.h |
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h |
index 0ba26e623a8ac7036606dcde77e7d79123a26c57..232dba23ba7236c5fac6f64e46202fa63829361b 100644 |
--- a/cc/layers/picture_layer.h |
+++ b/cc/layers/picture_layer.h |
@@ -39,7 +39,7 @@ class CC_EXPORT PictureLayer : public Layer { |
ContentLayerClient* client() { return client_; } |
- PicturePile* GetPicturePileForTesting() const { return pile_.get(); } |
+ PicturePile* GetPicturePileForTesting() { return &pile_; } |
protected: |
explicit PictureLayer(ContentLayerClient* client); |
@@ -50,7 +50,7 @@ class CC_EXPORT PictureLayer : public Layer { |
private: |
ContentLayerClient* client_; |
- scoped_refptr<PicturePile> pile_; |
+ PicturePile pile_; |
devtools_instrumentation:: |
ScopedLayerObjectTracker instrumentation_object_tracker_; |
// Invalidation to use the next time update is called. |