Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part II of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6474054
git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/getpostextpath.cpp b/gm/getpostextpath.cpp
index 4f32a41..aa65173 100644
--- a/gm/getpostextpath.cpp
+++ b/gm/getpostextpath.cpp
@@ -46,11 +46,11 @@
paint.getTextPath(text, len, 0, 0, &path);
strokePath(canvas, path);
path.reset();
-
+
SkAutoTArray<SkPoint> pos(len);
SkAutoTArray<SkScalar> widths(len);
paint.getTextWidths(text, len, &widths[0]);
-
+
SkRandom rand;
SkScalar x = SkIntToScalar(20);
SkScalar y = SkIntToScalar(100);
@@ -58,9 +58,9 @@
pos[i].set(x, y + rand.nextSScalar1() * 24);
x += widths[i];
}
-
+
canvas->translate(0, SkIntToScalar(64));
-
+
canvas->drawPosText(text, len, &pos[0], paint);
paint.getPosTextPath(text, len, &pos[0], &path);
strokePath(canvas, path);