Index: cc/resources/picture.h |
diff --git a/cc/resources/picture.h b/cc/resources/picture.h |
index d32b8435afcc882cc70e29ab59d0fcf1def9e710..1703ce72bf6c4daf75b0c6d4b7c76c942bb1d8fa 100644 |
--- a/cc/resources/picture.h |
+++ b/cc/resources/picture.h |
@@ -21,6 +21,7 @@ |
#include "cc/base/region.h" |
#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkTileGridPicture.h" |
+#include "third_party/skia/include/record/SkRecording.h" |
#include "ui/gfx/rect.h" |
class SkPixelRef; |
@@ -48,6 +49,7 @@ class CC_EXPORT Picture |
RECORD_NORMALLY, |
RECORD_WITH_SK_NULL_CANVAS, |
RECORD_WITH_PAINTING_DISABLED, |
+ RECORD_WITH_SKRECORD, |
RECORDING_MODE_COUNT, // Must be the last entry. |
}; |
@@ -155,6 +157,7 @@ class CC_EXPORT Picture |
gfx::Rect layer_rect_; |
gfx::Rect opaque_rect_; |
skia::RefPtr<SkPicture> picture_; |
+ scoped_ptr<const EXPERIMENTAL::SkPlayback> playback_; |
typedef std::vector<scoped_refptr<Picture> > PictureVector; |
PictureVector clones_; |