Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index fa0c61e4ea5f1813aee8902bccaa3ce937e07c63..1077dbc4eba2b03c462436c49218e365e66fd35b 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -67,11 +67,6 @@ public: |
SkPaint& operator=(const SkPaint&); |
- SK_API friend bool operator==(const SkPaint& a, const SkPaint& b); |
- friend bool operator!=(const SkPaint& a, const SkPaint& b) { |
- return !(a == b); |
- } |
- |
void flatten(SkFlattenableWriteBuffer&) const; |
void unflatten(SkFlattenableReadBuffer&); |
@@ -1092,6 +1087,8 @@ private: |
friend class SkPDFDevice; |
friend class SkTextToPathIter; |
friend class SkCanonicalizePaint; |
+ // Needed to test copy semantics in PaintTest.cpp: |
+ friend bool SkPaintShallowEquals(const SkPaint&, const SkPaint&); |
#ifdef SK_BUILD_FOR_ANDROID |
SkPaintOptionsAndroid fPaintOptionsAndroid; |