Index: src/effects/gradients/SkLinearGradient.cpp |
diff --git a/src/effects/gradients/SkLinearGradient.cpp b/src/effects/gradients/SkLinearGradient.cpp |
index 40503c96f18fbd219003da778e28c4a048d00587..15d461960dd8f6b97230d989bbce7d497bc7b660 100644 |
--- a/src/effects/gradients/SkLinearGradient.cpp |
+++ b/src/effects/gradients/SkLinearGradient.cpp |
@@ -90,8 +90,8 @@ void SkLinearGradient::flatten(SkWriteBuffer& buffer) const { |
size_t SkLinearGradient::onContextSize(const ContextRec& rec) const { |
return use_4f_context(rec, fGradFlags) |
- ? SkAlign16(sizeof(LinearGradient4fContext)) |
- : SkAlign16(sizeof(LinearGradientContext)); |
+ ? sizeof(LinearGradient4fContext) |
+ : sizeof(LinearGradientContext); |
} |
SkShader::Context* SkLinearGradient::onCreateContext(const ContextRec& rec, void* storage) const { |