Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index 5289d092c7d0a37e6e00d0518a0e69194dfb8891..2c8773860e73b781e1a8b6aa33bc4239dadad195 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp |
@@ -207,7 +207,7 @@ void GrStencilAndCoverTextContext::TextBlob::init(const SkTextBlob* skBlob, |
SkPaint runPaint(skPaint); |
for (SkTextBlobRunIterator iter(skBlob); !iter.done(); iter.next()) { |
iter.applyFontToPaint(&runPaint); // No need to re-seed the paint. |
- TextRun* run = SkNEW_INSERT_AT_LLIST_TAIL(this, TextRun, (runPaint)); |
+ TextRun* run = this->addToTail(runPaint); |
const char* text = reinterpret_cast<const char*>(iter.glyphs()); |
size_t byteLength = sizeof(uint16_t) * iter.glyphCount(); |