Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: src/core/SkGlyph.h

Issue 1769933004: Hide new methods from non-Android. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkGlyph.h
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index 0bccf6b4ce6ddcc0462705e6ac104741dfd8aece..e55ed3b6ebbe527f27a929f1beed22327984e94c 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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698