diff options
Diffstat (limited to 'chrome/common/extensions/url_pattern.h')
-rw-r--r-- | chrome/common/extensions/url_pattern.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h index 0067678..832673c 100644 --- a/chrome/common/extensions/url_pattern.h +++ b/chrome/common/extensions/url_pattern.h @@ -184,9 +184,8 @@ class URLPattern { }; // Used for origin comparisons in a std::set. - class EffectiveHostCompareFunctor : - public std::binary_function<URLPattern, URLPattern, bool> { - public: + class EffectiveHostCompareFunctor { + public: bool operator()(const URLPattern& a, const URLPattern& b) const { return EffectiveHostCompare(a, b); }; |