aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/SkPaint.cpp
diff options
context:
space:
mode:
authorVictoria Lease <violets@android.com>2012-08-17 14:59:02 -0700
committerVictoria Lease <violets@android.com>2012-08-17 14:59:02 -0700
commitfd3c420022d5f842fe8be5c21300e0d01463a5ad (patch)
tree139bc1d8c71cf7236d1b6c841fea0d4345f74848 /src/core/SkPaint.cpp
parent456fc154cef79072c3ceeae231a91045e9cb0e01 (diff)
downloadexternal_skia-fd3c420022d5f842fe8be5c21300e0d01463a5ad.zip
external_skia-fd3c420022d5f842fe8be5c21300e0d01463a5ad.tar.gz
external_skia-fd3c420022d5f842fe8be5c21300e0d01463a5ad.tar.bz2
Forward-compatibility stubs
Change-Id: I9c5bf5ce38827ced91d8912a1fa49adbd14a46b8
Diffstat (limited to 'src/core/SkPaint.cpp')
-rw-r--r--src/core/SkPaint.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
index e1932a7..fc5e57c 100644
--- a/src/core/SkPaint.cpp
+++ b/src/core/SkPaint.cpp
@@ -372,6 +372,10 @@ void SkPaint::setTextLocale(const SkString& locale) {
GEN_ID_INC;
}
}
+
+void SkPaint::setLanguage(const SkLanguage& language) {
+ setTextLocale(SkString(language.getTag()));
+}
#endif
///////////////////////////////////////////////////////////////////////////////