| Index: include/core/SkPaintOptionsAndroid.h
|
| diff --git a/include/core/SkPaintOptionsAndroid.h b/include/core/SkPaintOptionsAndroid.h
|
| index 78e43868c079d17f5c82b159a2e77b2e54d4630a..4777b2571916b7abc29addcf49f5c2d575c16947 100644
|
| --- a/include/core/SkPaintOptionsAndroid.h
|
| +++ b/include/core/SkPaintOptionsAndroid.h
|
| @@ -13,8 +13,6 @@
|
| #include "SkTypes.h"
|
| #include "SkString.h"
|
|
|
| -#ifdef SK_BUILD_FOR_ANDROID
|
| -
|
| class SkFlattenableReadBuffer;
|
| class SkFlattenableWriteBuffer;
|
|
|
| @@ -72,6 +70,10 @@ public:
|
| return *this;
|
| }
|
|
|
| + bool operator==(const SkPaintOptionsAndroid& b) const {
|
| + return !(*this != b);
|
| + }
|
| +
|
| bool operator!=(const SkPaintOptionsAndroid& b) const {
|
| return fLanguage != b.fLanguage ||
|
| fFontVariant != b.fFontVariant ||
|
| @@ -125,5 +127,4 @@ private:
|
| bool fUseFontFallbacks;
|
| };
|
|
|
| -#endif // #ifdef SK_BUILD_FOR_ANDROID
|
| #endif // #ifndef SkPaintOptionsAndroid_DEFINED
|
|
|