Index: src/core/SkClipStack.cpp |
diff --git a/src/core/SkClipStack.cpp b/src/core/SkClipStack.cpp |
index c359e87f216400157f509e17d530a8fa23eb811a..9541cc613f4207d2028459cfbabcb3fb38e23bed 100644 |
--- a/src/core/SkClipStack.cpp |
+++ b/src/core/SkClipStack.cpp |
@@ -711,7 +711,7 @@ void SkClipStack::pushElement(const Element& element) { |
prior = (Element*) fDeque.back(); |
} |
} |
- Element* newElement = SkNEW_PLACEMENT_ARGS(fDeque.push_back(), Element, (element)); |
+ Element* newElement = new (fDeque.push_back()) Element(element); |
newElement->updateBoundAndGenID(prior); |
} |