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

Unified Diff: third_party/WebKit/Source/wtf/Assertions.h

Issue 2259763002: Remove DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « third_party/WebKit/Source/core/frame/Frame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/Assertions.h
diff --git a/third_party/WebKit/Source/wtf/Assertions.h b/third_party/WebKit/Source/wtf/Assertions.h
index c94cce8d6f3ef0579888f41684a7595efe1b1d09..8d6b0680c8585dba522511537ca3aa2d475d4ac8 100644
--- a/third_party/WebKit/Source/wtf/Assertions.h
+++ b/third_party/WebKit/Source/wtf/Assertions.h
@@ -291,13 +291,6 @@ private:
inline bool operator!=(const thisType& a, const thisType* b) { return !(a == b); } \
inline bool operator!=(const thisType* a, const thisType& b) { return !(a == b); }
-#define DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(thisType) \
- DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(thisType) \
- inline bool operator==(const PassRefPtr<thisType>& a, const thisType& b) { return a.get() == &b; } \
- inline bool operator==(const thisType& a, const PassRefPtr<thisType>& b) { return &a == b.get(); } \
- inline bool operator!=(const PassRefPtr<thisType>& a, const thisType& b) { return !(a == b); } \
- inline bool operator!=(const thisType& a, const PassRefPtr<thisType>& b) { return !(a == b); }
-
/* DEFINE_TYPE_CASTS */
#define DEFINE_TYPE_CASTS(thisType, argumentType, argumentName, pointerPredicate, referencePredicate) \
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698