| Index: third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
|
| index a6b3d4c1c152cd9e57165ee07b9fc9972152f7fb..5e46a6caf4720845eac353b10505180950faf710 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
|
| @@ -8,19 +8,20 @@
|
| #include "platform/PlatformExport.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/paint/DisplayItemClient.h"
|
| +#include "platform/graphics/paint/PaintRecord.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "wtf/Noncopyable.h"
|
| #include <memory>
|
|
|
| class SkMetaData;
|
| -class SkPicture;
|
|
|
| namespace blink {
|
|
|
| class GraphicsContext;
|
| class PaintController;
|
|
|
| -// When slimming paint ships we can remove this SkPicture abstraction and
|
| +// TODO(enne): rename this class to not be named SkPicture
|
| +// When slimming paint ships we can remove this PaintRecord abstraction and
|
| // rely on PaintController here.
|
| class PLATFORM_EXPORT SkPictureBuilder final : public DisplayItemClient {
|
| WTF_MAKE_NONCOPYABLE(SkPictureBuilder);
|
| @@ -45,7 +46,7 @@ class PLATFORM_EXPORT SkPictureBuilder final : public DisplayItemClient {
|
|
|
| // Returns a picture capturing all drawing performed on the builder's context
|
| // since construction.
|
| - sk_sp<SkPicture> endRecording();
|
| + sk_sp<PaintRecord> endRecording();
|
|
|
| // DisplayItemClient methods
|
| String debugName() const final { return "SkPictureBuilder"; }
|
|
|