diff options
author | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-09 20:17:56 +0000 |
---|---|---|
committer | tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-09 20:17:56 +0000 |
commit | c377baf406996aed18d82d328029c82dbc3b8dda (patch) | |
tree | 215bc5ea788578b459423064e4ab17513a82c91d /src/gpu/GrRectanizer.cpp | |
parent | 70b4222344fc290ba03922ce246da2b3e980071d (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.cpp')
-rw-r--r-- | src/gpu/GrRectanizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrRectanizer.cpp b/src/gpu/GrRectanizer.cpp index 628b89074c..8df3b05121 100644 --- a/src/gpu/GrRectanizer.cpp +++ b/src/gpu/GrRectanizer.cpp @@ -117,7 +117,7 @@ bool GrRectanizerPow2::addRect(int width, int height, GrIPoint16* loc) { /////////////////////////////////////////////////////////////////////////////// GrRectanizer* GrRectanizer::Factory(int width, int height) { - return new GrRectanizerPow2(width, height); + return SkNEW_ARGS(GrRectanizerPow2, (width, height)); } |