| Index: src/gpu/GrTextBlobCache.cpp
|
| diff --git a/src/gpu/GrTextBlobCache.cpp b/src/gpu/GrTextBlobCache.cpp
|
| index dd7ddc129e77252524d4ccd6f85f675fcb02a25b..f11b7c60cbd88d62857863e27847d9132c8219a8 100644
|
| --- a/src/gpu/GrTextBlobCache.cpp
|
| +++ b/src/gpu/GrTextBlobCache.cpp
|
| @@ -27,7 +27,7 @@ GrAtlasTextBlob* GrTextBlobCache::createBlob(int glyphCount, int runCount, size_
|
| sk_bzero(allocation, size);
|
| #endif
|
|
|
| - GrAtlasTextBlob* cacheBlob = SkNEW_PLACEMENT(allocation, GrAtlasTextBlob);
|
| + GrAtlasTextBlob* cacheBlob = new (allocation) GrAtlasTextBlob;
|
| #ifdef CACHE_SANITY_CHECK
|
| cacheBlob->fSize = size;
|
| #endif
|
| @@ -39,7 +39,7 @@ GrAtlasTextBlob* GrTextBlobCache::createBlob(int glyphCount, int runCount, size_
|
|
|
| // Initialize runs
|
| for (int i = 0; i < runCount; i++) {
|
| - SkNEW_PLACEMENT(&cacheBlob->fRuns[i], GrAtlasTextBlob::Run);
|
| + new (&cacheBlob->fRuns[i]) GrAtlasTextBlob::Run;
|
| }
|
| cacheBlob->fRunCount = runCount;
|
| cacheBlob->fPool = &fPool;
|
|
|