Index: src/core/SkTextBlob.cpp |
diff --git a/src/core/SkTextBlob.cpp b/src/core/SkTextBlob.cpp |
index 7f6536cc8adb8b48d0f7a204b52d4b1b0db116ff..79fe858aacf0fd8f0cb8929edeee51ed16230f50 100644 |
--- a/src/core/SkTextBlob.cpp |
+++ b/src/core/SkTextBlob.cpp |
@@ -624,7 +624,7 @@ const SkTextBlob* SkTextBlobBuilder::build() { |
fStorage.realloc(fStorageUsed); |
} |
- const SkTextBlob* blob = new (fStorage.detach()) SkTextBlob(fRunCount, fBounds); |
+ const SkTextBlob* blob = new (fStorage.release()) SkTextBlob(fRunCount, fBounds); |
SkDEBUGCODE(const_cast<SkTextBlob*>(blob)->fStorageSize = fStorageSize;) |
SkDEBUGCODE( |