Index: tools/skhello.cpp |
diff --git a/tools/skhello.cpp b/tools/skhello.cpp |
index d30849bcfb4d987d3de8e097bfe26db8ef0fcfb2..148dea81a89bbb9d1480982c6ddcab49e7a689e8 100644 |
--- a/tools/skhello.cpp |
+++ b/tools/skhello.cpp |
@@ -48,7 +48,7 @@ static bool do_document(int w, int h, const char path[], const char text[], |
if (doc.get()) { |
SkScalar width = SkIntToScalar(w); |
SkScalar height = SkIntToScalar(h); |
- doDraw(doc->beginPage(width, height, NULL), paint, text); |
+ doDraw(doc->beginPage(SkSize::Make(width, height), NULL), paint, text); |
return true; |
} |
return false; |