Index: src/core/SkPictureShader.cpp |
diff --git a/src/core/SkPictureShader.cpp b/src/core/SkPictureShader.cpp |
index 630b1bf8e14c49227a731a38fafba767fb3e876a..f1addadd20012745373b76ce91b3bf3bcab98e99 100644 |
--- a/src/core/SkPictureShader.cpp |
+++ b/src/core/SkPictureShader.cpp |
@@ -241,8 +241,8 @@ |
return tileShader.detach(); |
} |
-size_t SkPictureShader::onContextSize(const ContextRec&) const { |
- return SkAlign16(sizeof(PictureShaderContext)); |
+size_t SkPictureShader::contextSize(const ContextRec&) const { |
+ return sizeof(PictureShaderContext); |
} |
SkShader::Context* SkPictureShader::onCreateContext(const ContextRec& rec, void* storage) const { |