Index: src/core/SkBlitter.cpp |
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp |
index c7c903dc6bcff4e2a305c13911abb7bda8a1bc58..ce7c4e8ccd70b966825c04fa09e66f0beea347e2 100644 |
--- a/src/core/SkBlitter.cpp |
+++ b/src/core/SkBlitter.cpp |
@@ -592,8 +592,8 @@ public: |
SkSafeUnref(fProxy); |
} |
- size_t contextSize(const ContextRec& rec) const override { |
- size_t size = sizeof(Sk3DShaderContext); |
+ size_t onContextSize(const ContextRec& rec) const override { |
+ size_t size = SkAlign16(sizeof(Sk3DShaderContext)); |
if (fProxy) { |
size += fProxy->contextSize(rec); |
} |