diff options
author | benjaminwagner <benjaminwagner@google.com> | 2016-03-07 17:58:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-07 17:58:03 -0800 |
commit | 706d21ffd03a0a446f7b997c801356abb891eaeb (patch) | |
tree | f0a484d8eb4badd2ad98f38cf33461567dc871df /src/core/SkGlyph.h | |
parent | 53add95b2e8d97e4dfe18b26e1f3a0d414706354 (diff) |
Hide new methods from non-Android.
Review URL: https://codereview.chromium.org/1769933004
Diffstat (limited to 'src/core/SkGlyph.h')
-rw-r--r-- | src/core/SkGlyph.h | 2 |
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); |