Index: src/core/SkColorShader.h |
diff --git a/src/core/SkColorShader.h b/src/core/SkColorShader.h |
index 985ab201cdd38354bcb0dc827ced659aa2757736..7f817b54bea2097c79e606371fd1348e37152984 100644 |
--- a/src/core/SkColorShader.h |
+++ b/src/core/SkColorShader.h |
@@ -57,9 +57,7 @@ protected: |
SkColorShader(SkReadBuffer&); |
void flatten(SkWriteBuffer&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
- size_t onContextSize(const ContextRec&) const override { |
- return SkAlign16(sizeof(ColorShaderContext)); |
- } |
+ size_t onContextSize(const ContextRec&) const override { return sizeof(ColorShaderContext); } |
bool onAsLuminanceColor(SkColor* lum) const override { |
*lum = fColor; |
return true; |