Chromium Code Reviews| 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..41b8d1cd96e18c0b8a60db44634a8b9b7b3e0ecd 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,8 @@ class SkPictureContentLayerUpdater : public ContentLayerUpdater { |
| void DrawPicture(SkCanvas* canvas); |
| private: |
| - // Recording canvas. |
| - SkPicture picture_; |
| + // Recorded picture |
|
enne (OOO)
2014/04/15 01:10:39
You could probably just remove this comment.
robertphillips
2014/04/15 15:37:04
Done.
|
| + skia::RefPtr<SkPicture> picture_; |
| DISALLOW_COPY_AND_ASSIGN(SkPictureContentLayerUpdater); |
| }; |