aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/fontscaler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/fontscaler.cpp')
-rw-r--r--gm/fontscaler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gm/fontscaler.cpp b/gm/fontscaler.cpp
index 8aef8f0ebe..eb38013cb1 100644
--- a/gm/fontscaler.cpp
+++ b/gm/fontscaler.cpp
@@ -72,12 +72,10 @@ protected:
canvas->drawRect(r, p);
}
- int index = 0;
for (int ps = 6; ps <= 22; ps++) {
paint.setTextSize(SkIntToScalar(ps));
canvas->drawText(text, textLen, x, y, paint);
y += paint.getFontMetrics(NULL);
- index += 1;
}
}
canvas->translate(0, SkIntToScalar(360));