Index: include/core/SkPaintOptionsAndroid.h |
diff --git a/include/core/SkPaintOptionsAndroid.h b/include/core/SkPaintOptionsAndroid.h |
index 1bb29f4760486650592480fa8b5558d862ac1b9b..f49345f12ba6bf13057d2fd55ad3a0f6cdfd50b5 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 |