Index: url/origin.h |
diff --git a/url/origin.h b/url/origin.h |
index aab1f05a2013cc84cd4aedbb91a9e10b0df88307..538c5c36beee53b3168d28faf2c4afc0ec7afe19 100644 |
--- a/url/origin.h |
+++ b/url/origin.h |
@@ -121,6 +121,7 @@ class URL_EXPORT Origin { |
bool operator==(const Origin& other) const { |
return IsSameOriginWith(other); |
} |
+ bool operator!=(const Origin& other) const { return !(*this == other); } |
// Allows Origin to be used as a key in STL (for example, a std::set or |
// std::map). |