| Index: third_party/WebKit/Source/platform/graphics/Gradient.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Gradient.h b/third_party/WebKit/Source/platform/graphics/Gradient.h
|
| index 0a43ecb364333810374df26ec320335a6c24179a..49e0f740ab84df171045dfcd1c74eab573fa7e70 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Gradient.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Gradient.h
|
| @@ -34,10 +34,10 @@
|
| #include "platform/graphics/Color.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| -#include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| +#include "wtf/RefPtr.h"
|
| #include "wtf/Vector.h"
|
|
|
| class SkPaint;
|
| @@ -126,7 +126,7 @@
|
| Gradient(const FloatPoint& p0, const FloatPoint& p1);
|
| Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
|
|
|
| - sk_sp<SkShader> shader();
|
| + SkShader* shader();
|
| void destroyShader();
|
|
|
| void sortStopsIfNecessary();
|
| @@ -143,7 +143,7 @@
|
| GradientSpreadMethod m_spreadMethod;
|
| AffineTransform m_gradientSpaceTransformation;
|
|
|
| - sk_sp<SkShader> m_gradient;
|
| + RefPtr<SkShader> m_gradient;
|
| };
|
|
|
| } // namespace blink
|
|
|