Index: src/effects/gradients/SkSweepGradient.cpp |
diff --git a/src/effects/gradients/SkSweepGradient.cpp b/src/effects/gradients/SkSweepGradient.cpp |
index 12d55e8b49118abcca3882a5b26b7405a118a7e6..1bdf40e1155d225138c1ad548e08432b014f34d5 100644 |
--- a/src/effects/gradients/SkSweepGradient.cpp |
+++ b/src/effects/gradients/SkSweepGradient.cpp |
@@ -46,7 +46,7 @@ void SkSweepGradient::flatten(SkWriteBuffer& buffer) const { |
} |
size_t SkSweepGradient::onContextSize(const ContextRec&) const { |
- return SkAlign16(sizeof(SweepGradientContext)); |
+ return sizeof(SweepGradientContext); |
} |
SkShader::Context* SkSweepGradient::onCreateContext(const ContextRec& rec, void* storage) const { |