Index: src/core/SkScalerContext.cpp |
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp |
index 04ef2a92221033fac31be0744165ea3d77364f99..2a4e9d3d58f599a249f84f066378b83ff933155f 100644 |
--- a/src/core/SkScalerContext.cpp |
+++ b/src/core/SkScalerContext.cpp |
@@ -147,7 +147,7 @@ SkScalerContext* SkScalerContext::allocNextContext() const { |
SkAutoTUnref<SkTypeface> aur(newFace); |
uint32_t newFontID = newFace->uniqueID(); |
- SkOrderedWriteBuffer androidBuffer(128); |
+ SkOrderedWriteBuffer androidBuffer; |
fPaintOptionsAndroid.flatten(androidBuffer); |
SkAutoDescriptor ad(sizeof(fRec) + androidBuffer.size() + SkDescriptor::ComputeOverhead(2)); |