Index: Source/platform/graphics/BitmapPattern.cpp |
diff --git a/Source/platform/graphics/BitmapPattern.cpp b/Source/platform/graphics/BitmapPattern.cpp |
index 4cdf9faa95d337cea7be66dec16674524b3ce656..745965f654d024c7a0ebeaa5537af724ab9f3125 100644 |
--- a/Source/platform/graphics/BitmapPattern.cpp |
+++ b/Source/platform/graphics/BitmapPattern.cpp |
@@ -7,7 +7,7 @@ |
#include "platform/graphics/skia/SkiaUtils.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
-#include "third_party/skia/include/core/SkColorShader.h" |
+#include "third_party/skia/include/core/SkShader.h" |
#include <v8.h> |
namespace blink { |
@@ -27,7 +27,7 @@ BitmapPattern::BitmapPattern(PassRefPtr<Image> image, RepeatMode repeatMode) |
PassRefPtr<SkShader> BitmapPattern::createShader() |
{ |
if (!m_tileImage) { |
- return adoptRef(new SkColorShader(SK_ColorTRANSPARENT)); |
+ return adoptRef(SkShader::CreateColorShader(SK_ColorTRANSPARENT)); |
} |
SkMatrix localMatrix = affineTransformToSkMatrix(m_patternSpaceTransformation); |