Fix SkNWayCanvas cons call when creating null canvas.

git-svn-id: http://skia.googlecode.com/svn/trunk@4223 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-06-11 15:47:23 +00:00
parent b51c633c4f
commit 651132a845

View File

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