Hide new methods from non-Android.
Review URL: https://codereview.chromium.org/1769933004
This commit is contained in:
parent
53add95b2e
commit
706d21ffd0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user