| Index: cc/playback/drawing_display_item.h
|
| diff --git a/cc/playback/drawing_display_item.h b/cc/playback/drawing_display_item.h
|
| index 3ec93636383626893abdf2bad275a84c7a947901..871ad09d5f15780d399f000f8c97ef1b6941b88f 100644
|
| --- a/cc/playback/drawing_display_item.h
|
| +++ b/cc/playback/drawing_display_item.h
|
| @@ -11,19 +11,19 @@
|
| #include <vector>
|
|
|
| #include "cc/base/cc_export.h"
|
| +#include "cc/paint/paint_record.h"
|
| #include "cc/playback/display_item.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "ui/gfx/geometry/point_f.h"
|
|
|
| class SkCanvas;
|
| -class SkPicture;
|
|
|
| namespace cc {
|
|
|
| class CC_EXPORT DrawingDisplayItem : public DisplayItem {
|
| public:
|
| DrawingDisplayItem();
|
| - explicit DrawingDisplayItem(sk_sp<const SkPicture> picture);
|
| + explicit DrawingDisplayItem(sk_sp<const PaintRecord> picture);
|
| explicit DrawingDisplayItem(const DrawingDisplayItem& item);
|
| ~DrawingDisplayItem() override;
|
|
|
| @@ -38,9 +38,9 @@ class CC_EXPORT DrawingDisplayItem : public DisplayItem {
|
| void CloneTo(DrawingDisplayItem* item) const;
|
|
|
| private:
|
| - void SetNew(sk_sp<const SkPicture> picture);
|
| + void SetNew(sk_sp<const PaintRecord> picture);
|
|
|
| - sk_sp<const SkPicture> picture_;
|
| + sk_sp<const PaintRecord> picture_;
|
| };
|
|
|
| } // namespace cc
|
|
|