| Index: third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
|
| index d987801d33b0663578d3dca04ae13e9e862b8049..fe3d95d6e413f76123ee3aba7272c5b4141db430 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/PaintRecordPattern.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef PaintRecordPattern_h
|
| #define PaintRecordPattern_h
|
|
|
| +#include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/Pattern.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
|
|
| @@ -13,7 +14,9 @@ namespace blink {
|
| // TODO(enne): rename this
|
| class PLATFORM_EXPORT PaintRecordPattern final : public Pattern {
|
| public:
|
| - static PassRefPtr<PaintRecordPattern> Create(sk_sp<PaintRecord>, RepeatMode);
|
| + static PassRefPtr<PaintRecordPattern> Create(sk_sp<PaintRecord>,
|
| + const FloatRect& record_bounds,
|
| + RepeatMode);
|
|
|
| ~PaintRecordPattern() override;
|
|
|
| @@ -21,9 +24,12 @@ class PLATFORM_EXPORT PaintRecordPattern final : public Pattern {
|
| sk_sp<PaintShader> CreateShader(const SkMatrix&) override;
|
|
|
| private:
|
| - PaintRecordPattern(sk_sp<PaintRecord>, RepeatMode);
|
| + PaintRecordPattern(sk_sp<PaintRecord>,
|
| + const FloatRect& record_bounds,
|
| + RepeatMode);
|
|
|
| sk_sp<PaintRecord> tile_record_;
|
| + FloatRect tile_record_bounds_;
|
| };
|
|
|
| } // namespace blink
|
|
|