fix SkNWayCanvas cons call again.
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 11 Jun 2012 15:52:55 +0000 (15:52 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 11 Jun 2012 15:52:55 +0000 (15:52 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@4224 2bbb7eff-a529-9590-31e7-b0007b416f81

src/utils/SkNullCanvas.cpp

index 4afedfc..12af090 100644 (file)
@@ -14,5 +14,5 @@
 SkCanvas* SkCreateNullCanvas() {
     // An N-Way canvas forwards calls to N canvas's. When N == 0 it's
     // effectively a null canvas.
-    return SkNEW(SkNWayCanvas(0,0));
+    return SkNEW_ARGS(SkNWayCanvas, (0,0));
 }