| Index: url/origin.h
|
| diff --git a/url/origin.h b/url/origin.h
|
| index aed98135cbbde87572fc2596f8695dda6aacdf1c..aab1f05a2013cc84cd4aedbb91a9e10b0df88307 100644
|
| --- a/url/origin.h
|
| +++ b/url/origin.h
|
| @@ -118,6 +118,9 @@ class URL_EXPORT Origin {
|
| // Two Origins are "same-origin" if their schemes, hosts, and ports are exact
|
| // matches; and neither is unique.
|
| bool IsSameOriginWith(const Origin& other) const;
|
| + bool operator==(const Origin& other) const {
|
| + return IsSameOriginWith(other);
|
| + }
|
|
|
| // Allows Origin to be used as a key in STL (for example, a std::set or
|
| // std::map).
|
|
|