Chromium Code Reviews| 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..6f89f61320d6ab97a0cf2d18d853c4906f8d6a1f 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PaintRecordBuilder.h |
| @@ -11,6 +11,7 @@ |
| #include "platform/geometry/FloatRect.h" |
| #include "platform/graphics/paint/DisplayItemClient.h" |
| #include "platform/graphics/paint/PaintRecord.h" |
| +#include "platform/graphics/paint/PropertyTreeState.h" |
| #include "third_party/skia/include/core/SkRefCnt.h" |
| #include "wtf/Noncopyable.h" |
| @@ -50,7 +51,9 @@ class PLATFORM_EXPORT PaintRecordBuilder final : public DisplayItemClient { |
| // Returns a PaintRecord capturing all drawing performed on the builder's |
| // context since construction. If SPv2 is on, flattens all paint chunks |
| // into PropertyTreeState::root() space. |
| - sk_sp<PaintRecord> endRecording(); |
| + // In SPv2 mode, replayes into the ancestor state given by |replayState|. |
|
wkorman
2017/03/31 18:21:51
Param has different name (and only in .cpp file) h
wkorman
2017/03/31 18:21:51
replays
chrishtr
2017/03/31 20:59:03
Fixed
|
| + sk_sp<PaintRecord> endRecording( |
| + const PropertyTreeState& = PropertyTreeState::root()); |
| // DisplayItemClient methods |
| String debugName() const final { return "PaintRecordBuilder"; } |