| 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..a567976a2d87da980a319df4de0da362ff45ccde 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;
|
| @@ -32,8 +33,7 @@ class SkPictureContentLayerUpdater : public ContentLayerUpdater {
|
| void DrawPicture(SkCanvas* canvas);
|
|
|
| private:
|
| - // Recording canvas.
|
| - SkPicture picture_;
|
| + skia::RefPtr<SkPicture> picture_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SkPictureContentLayerUpdater);
|
| };
|
|
|