Index: url/gurl.h |
diff --git a/url/gurl.h b/url/gurl.h |
index f370934dcb5026399c91c6bc7949c92f0b5ef4da..ef1e5290bcc924787095e234d05177eaa11caac4 100644 |
--- a/url/gurl.h |
+++ b/url/gurl.h |
@@ -112,20 +112,12 @@ class URL_EXPORT GURL { |
} |
// Defiant equality operator! |
- bool operator==(const GURL& other) const { |
- return spec_ == other.spec_; |
- } |
- bool operator!=(const GURL& other) const { |
- return spec_ != other.spec_; |
- } |
+ bool operator==(const GURL& other) const; |
+ bool operator!=(const GURL& other) const; |
// Allows GURL to used as a key in STL (for example, a std::set or std::map). |
- bool operator<(const GURL& other) const { |
- return spec_ < other.spec_; |
- } |
- bool operator>(const GURL& other) const { |
- return spec_ > other.spec_; |
- } |
+ bool operator<(const GURL& other) const; |
+ bool operator>(const GURL& other) const; |
// Resolves a URL that's possibly relative to this object's URL, and returns |
// it. Absolute URLs are also handled according to the rules of URLs on web |