| Index: third_party/WebKit/Source/platform/graphics/PicturePattern.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/PicturePattern.h b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
|
| index 5c666a31ab133d7dbd030e0756902a70f087cfd4..04c071c018e57e0fb4471c31a703ea171a8ef0b5 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/PicturePattern.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/PicturePattern.h
|
| @@ -6,12 +6,13 @@
|
| #define PicturePattern_h
|
|
|
| #include "platform/graphics/Pattern.h"
|
| +#include "third_party/skia/include/core/SkRefCnt.h"
|
|
|
| namespace blink {
|
|
|
| class PLATFORM_EXPORT PicturePattern final : public Pattern {
|
| public:
|
| - static PassRefPtr<PicturePattern> create(PassRefPtr<SkPicture>, RepeatMode);
|
| + static PassRefPtr<PicturePattern> create(sk_sp<SkPicture>, RepeatMode);
|
|
|
| ~PicturePattern() override;
|
|
|
| @@ -19,7 +20,7 @@ protected:
|
| sk_sp<SkShader> createShader(const SkMatrix&) override;
|
|
|
| private:
|
| - PicturePattern(PassRefPtr<SkPicture>, RepeatMode);
|
| + PicturePattern(sk_sp<SkPicture>, RepeatMode);
|
|
|
| sk_sp<SkPicture> m_tilePicture;
|
| };
|
|
|