Index: src/gpu/GrClipMaskCache.cpp |
diff --git a/src/gpu/GrClipMaskCache.cpp b/src/gpu/GrClipMaskCache.cpp |
index a21eab78d7f82969dcfc0dbea52b73cd69c9f591..42a5d46c4a790ae916a1c01bc767b597d2afee4f 100644 |
--- a/src/gpu/GrClipMaskCache.cpp |
+++ b/src/gpu/GrClipMaskCache.cpp |
@@ -13,9 +13,7 @@ GrClipMaskCache::GrClipMaskCache(GrResourceProvider* resourceProvider) |
, fResourceProvider(resourceProvider) { |
// We need an initial frame to capture the clip state prior to |
// any pushes |
- SkNEW_PLACEMENT(fStack.push_back(), GrClipStackFrame); |
+ new (fStack.push_back()) GrClipStackFrame; |
} |
-void GrClipMaskCache::push() { |
- SkNEW_PLACEMENT(fStack.push_back(), GrClipStackFrame); |
-} |
+void GrClipMaskCache::push() { new (fStack.push_back()) GrClipStackFrame; } |