Index: samplecode/SampleText.cpp |
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp |
index 17456b2ee988e6cbfca5d02d6caa1fba434db5a3..7f872a9fab62f905d4b522bcad5224be869addcd 100644 |
--- a/samplecode/SampleText.cpp |
+++ b/samplecode/SampleText.cpp |
@@ -37,8 +37,7 @@ static void test_breakText() { |
SkScalar nn = 0; |
for (SkScalar w = 0; w <= width; w += SK_Scalar1) { |
SkScalar m; |
- size_t n = paint.breakText(text, length, w, &m, |
- SkPaint::kBackward_TextBufferDirection); |
+ size_t n = paint.breakText(text, length, w, &m); |
SkASSERT(n <= length); |
SkASSERT(m <= width); |