aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/AndroidPaintTest.cpp
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2014-08-06 06:58:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-06 06:58:06 -0700
commit1b27704eba15be4e9d1997faac42038493a30be5 (patch)
tree867cb1e568681cdb719c9c3771bbfadf222b3787 /tests/AndroidPaintTest.cpp
parent847092c88be671c06bdf24aa02b5a66e7a593a15 (diff)
Remove ALL font fallback logic from Skia.
R=reed@google.com, bungeman@google.com, caryclark@google.com Author: djsollen@google.com Review URL: https://codereview.chromium.org/434623002
Diffstat (limited to 'tests/AndroidPaintTest.cpp')
-rw-r--r--tests/AndroidPaintTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/AndroidPaintTest.cpp b/tests/AndroidPaintTest.cpp
index 0fc2f9b03a..f5cf84f4f3 100644
--- a/tests/AndroidPaintTest.cpp
+++ b/tests/AndroidPaintTest.cpp
@@ -27,7 +27,6 @@ DEF_TEST(AndroidOptionsSerialization, reporter) {
SkPaintOptionsAndroid options;
options.setLanguage("ja-JP");
options.setFontVariant(SkPaintOptionsAndroid::kElegant_Variant);
- options.setUseFontFallbacks(true);
SkPaint paint;
paint.setPaintOptionsAndroid(options);
@@ -46,7 +45,6 @@ DEF_TEST(AndroidOptionsSerializationReverse, reporter) {
SkPaintOptionsAndroid options;
options.setLanguage("ja-JP");
options.setFontVariant(SkPaintOptionsAndroid::kElegant_Variant);
- options.setUseFontFallbacks(true);
SkPaint nonDefaultOptions;
nonDefaultOptions.setPaintOptionsAndroid(options);
@@ -64,7 +62,7 @@ DEF_TEST(AndroidOptionsSize, reporter) {
SkPaint defaultOptions;
SkPaintOptionsAndroid options;
- options.setUseFontFallbacks(true);
+ options.setLanguage("ja-JP");
SkPaint nonDefaultOptions;
nonDefaultOptions.setPaintOptionsAndroid(options);