aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-10-03 12:44:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-03 12:44:37 -0700
commit9e96aa07dbf1210fd35ae8e0c54d4d9822544e89 (patch)
treee639cf91f3aa2d8da0b8b5ec97299dd815b3ace5 /samplecode
parent22edc8310cd57ab02155bfa6b2ddaf830556bcaf (diff)
remove unused TextBufferDirection enum
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleText.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/samplecode/SampleText.cpp b/samplecode/SampleText.cpp
index 17456b2ee9..7f872a9fab 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);