Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/core/SkPaint.h

Issue 21949007: Remove operator== from SkPaint (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkPaint.cpp » ('j') | tests/PaintTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index fa0c61e4ea5f1813aee8902bccaa3ce937e07c63..6390b9e81dc95cbb526465e8ff2be56859e3f945 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,7 @@ private:
friend class SkPDFDevice;
friend class SkTextToPathIter;
friend class SkCanonicalizePaint;
+ friend class PaintEqualityHelper; // Defined in PaintTest.cpp
#ifdef SK_BUILD_FOR_ANDROID
SkPaintOptionsAndroid fPaintOptionsAndroid;
« no previous file with comments | « no previous file | src/core/SkPaint.cpp » ('j') | tests/PaintTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698