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:
parent
b51c633c4f
commit
651132a845
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user