flag to convert to SkTextEncoding

Bug: skia:
Change-Id: I9628bcabc5c6f902b79009e4f21badff3e8cca94
Reviewed-on: https://skia-review.googlesource.com/c/173980
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp
index 5eb7ade..50239d6 100644
--- a/samplecode/SampleAll.cpp
+++ b/samplecode/SampleAll.cpp
@@ -257,7 +257,7 @@
         canvas->drawText(utf8, sizeof(utf8) - 1, x, y, paint);
 
         canvas->translate(0, SkIntToScalar(60));
-        paint.setTextEncoding(SkPaint::kUTF8_TextEncoding);
+        paint.setTextEncoding(kUTF8_SkTextEncoding);
         canvas->restore();
     }