aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkGlyph.h
diff options
context:
space:
mode:
authorGravatar benjaminwagner <benjaminwagner@google.com>2016-03-07 17:58:03 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-07 17:58:03 -0800
commit706d21ffd03a0a446f7b997c801356abb891eaeb (patch)
treef0a484d8eb4badd2ad98f38cf33461567dc871df /src/core/SkGlyph.h
parent53add95b2e8d97e4dfe18b26e1f3a0d414706354 (diff)
Hide new methods from non-Android.
Diffstat (limited to 'src/core/SkGlyph.h')
-rw-r--r--src/core/SkGlyph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index 0bccf6b4ce..e55ed3b6eb 100644
--- a/src/core/SkGlyph.h
+++ b/src/core/SkGlyph.h
@@ -94,10 +94,12 @@ public:
return rb;
}
+#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
SK_ATTR_DEPRECATED("Temporary accessor for Android.")
SkFixed advanceXFixed() const { return fAdvanceX; }
SK_ATTR_DEPRECATED("Temporary accessor for Android.")
SkFixed advanceYFixed() const { return fAdvanceY; }
+#endif
unsigned rowBytes() const {
return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);