| Index: third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Pattern.cpp b/third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| index 05a55dff2aded8bef7c91ae80232793f1ec46eb6..ce773d59b50118c1770aa8b67cf971dfbafa1aa7 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Pattern.cpp
|
| @@ -29,7 +29,6 @@
|
|
|
| #include "platform/graphics/ImagePattern.h"
|
| #include "platform/graphics/PicturePattern.h"
|
| -#include "platform/graphics/skia/SkiaUtils.h"
|
| #include "third_party/skia/include/core/SkImage.h"
|
| #include "third_party/skia/include/core/SkPicture.h"
|
| #include "third_party/skia/include/core/SkShader.h"
|
| @@ -42,7 +41,7 @@
|
| return ImagePattern::create(tileImage, repeatMode);
|
| }
|
|
|
| -PassRefPtr<Pattern> Pattern::createPicturePattern(PassRefPtr<SkPicture> picture,
|
| +PassRefPtr<Pattern> Pattern::createPicturePattern(PassRefPtr<const SkPicture> picture,
|
| RepeatMode repeatMode)
|
| {
|
| return PicturePattern::create(picture, repeatMode);
|
| @@ -66,7 +65,7 @@
|
| m_pattern = createShader();
|
| }
|
|
|
| - paint.setShader(adoptSkSp<SkShader>(m_pattern));
|
| + paint.setShader(m_pattern.get());
|
| }
|
|
|
| void Pattern::setPatternSpaceTransform(const AffineTransform& patternSpaceTransformation)
|
|
|