Hide new methods from non-Android.

Review URL: https://codereview.chromium.org/1769933004
This commit is contained in:
benjaminwagner 2016-03-07 17:58:03 -08:00 committed by Commit bot
parent 53add95b2e
commit 706d21ffd0

View File

@ -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);