| Index: third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h b/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
|
| index 6c3e231570a29e088f7de172915e7f0bf7a3bc17..2d27e26ef38dc9e8028a0353cdc6da4b6df26d2d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h
|
| @@ -10,6 +10,7 @@
|
| #include "platform/PlatformExport.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/paint/DisplayItemClient.h"
|
| +#include "platform/graphics/paint/PaintCanvas.h"
|
| #include "platform/graphics/paint/PaintRecord.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -52,6 +53,9 @@ class PLATFORM_EXPORT PaintRecordBuilder final : public DisplayItemClient {
|
| // into PropertyTreeState::root() space.
|
| sk_sp<PaintRecord> endRecording();
|
|
|
| + // Replays the recording directly into the given canvas.
|
| + void endRecording(PaintCanvas&);
|
| +
|
| // DisplayItemClient methods
|
| String debugName() const final { return "PaintRecordBuilder"; }
|
| LayoutRect visualRect() const final { return LayoutRect(); }
|
|
|