aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRectanizer_fifo.cpp
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-09 20:17:56 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-09 20:17:56 +0000
commitc377baf406996aed18d82d328029c82dbc3b8dda (patch)
tree215bc5ea788578b459423064e4ab17513a82c91d /src/gpu/GrRectanizer_fifo.cpp
parent70b4222344fc290ba03922ce246da2b3e980071d (diff)
Add placement new macros to SkPostConfig, call SkNEW* from Ganesh.
TODO: unify with the placement new implementation in SkTemplatesPriv.h, once various issues there are overcome. reed@ should be taking the lead there. http://codereview.appspot.com/6384043/ git-svn-id: http://skia.googlecode.com/svn/trunk@4492 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrRectanizer_fifo.cpp')
-rw-r--r--src/gpu/GrRectanizer_fifo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrRectanizer_fifo.cpp b/src/gpu/GrRectanizer_fifo.cpp
index 3bfc46f4a3..0f412b83fa 100644
--- a/src/gpu/GrRectanizer_fifo.cpp
+++ b/src/gpu/GrRectanizer_fifo.cpp
@@ -117,7 +117,7 @@ bool GrRectanizerFIFO::addRect(int width, int height, GrIPoint16* loc) {
///////////////////////////////////////////////////////////////////////////////
GrRectanizer* GrRectanizer::Factory(int width, int height) {
- return new GrRectanizerFIFO(width, height);
+ return SkNEW_ARGS(GrRectanizerFIFO, (width, height));
}