Index: gm/showmiplevels.cpp |
diff --git a/gm/showmiplevels.cpp b/gm/showmiplevels.cpp |
index 7fc40ce029884a9b1ea8b06692d30c2117bdd48f..27d47e564d39d587009974fea76ed5973e09a56a 100644 |
--- a/gm/showmiplevels.cpp |
+++ b/gm/showmiplevels.cpp |
@@ -150,7 +150,7 @@ protected: |
int index = 0; |
SkMipMap::Level level; |
SkScalar scale = 0.5f; |
- while (mm->extractLevel(scale, &level)) { |
+ while (mm->extractLevel(SkSize::Make(scale, scale), &level)) { |
SkBitmap bm = func(prevPM, level.fPixmap); |
DrawAndFrame(canvas, bm, x, y); |
@@ -258,7 +258,7 @@ protected: |
int index = 0; |
SkMipMap::Level level; |
SkScalar scale = 0.5f; |
- while (mm->extractLevel(scale, &level)) { |
+ while (mm->extractLevel(SkSize::Make(scale, scale), &level)) { |
SkBitmap bm; |
bm.installPixels(level.fPixmap); |
DrawAndFrame(canvas, bm, x, y); |