Index: src/gpu/GrAllocator.h |
diff --git a/src/gpu/GrAllocator.h b/src/gpu/GrAllocator.h |
index 861c3cbe2cffc8cf7ce5271729e85dd07cbd286b..64f6533be410def4b77c65fa262944808226f274 100644 |
--- a/src/gpu/GrAllocator.h |
+++ b/src/gpu/GrAllocator.h |
@@ -247,14 +247,14 @@ public: |
T& push_back() { |
void* item = fAllocator.push_back(); |
SkASSERT(item); |
- SkNEW_PLACEMENT(item, T); |
+ new (item) T; |
return *(T*)item; |
} |
T& push_back(const T& t) { |
void* item = fAllocator.push_back(); |
SkASSERT(item); |
- SkNEW_PLACEMENT_ARGS(item, T, (t)); |
+ new (item) T(t); |
return *(T*)item; |
} |