Index: cc/resources/skpicture_content_layer_updater.h |
diff --git a/cc/resources/skpicture_content_layer_updater.h b/cc/resources/skpicture_content_layer_updater.h |
index e5891841fed1d06271daeac24b058fec3be4f3b6..ae93f5f7a2d2806fb927dc687446c6919680c893 100644 |
--- a/cc/resources/skpicture_content_layer_updater.h |
+++ b/cc/resources/skpicture_content_layer_updater.h |
@@ -6,6 +6,7 @@ |
#define CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_ |
#include "cc/resources/content_layer_updater.h" |
+#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkPicture.h" |
class SkCanvas; |
@@ -33,7 +34,8 @@ class SkPictureContentLayerUpdater : public ContentLayerUpdater { |
private: |
// Recording canvas. |
- SkPicture picture_; |
+ SkPictureRecorder picture_recorder_; |
+ skia::RefPtr<SkPicture> picture_; |
DISALLOW_COPY_AND_ASSIGN(SkPictureContentLayerUpdater); |
}; |