diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 22:05:28 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 22:05:28 +0000 |
commit | d0af7203fccbb273cd4ee112b12ca93c18441efa (patch) | |
tree | 6410ef23531cf87aac1981a74326ced5a25fa0df /chrome/common/extensions/url_pattern.h | |
parent | 7f71e75e4eb1decfdc52f28b2ec48671d09f373b (diff) | |
download | chromium_src-d0af7203fccbb273cd4ee112b12ca93c18441efa.zip chromium_src-d0af7203fccbb273cd4ee112b12ca93c18441efa.tar.gz chromium_src-d0af7203fccbb273cd4ee112b12ca93c18441efa.tar.bz2 |
Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."
This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237).
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3609005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/url_pattern.h')
-rw-r--r-- | chrome/common/extensions/url_pattern.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/extensions/url_pattern.h b/chrome/common/extensions/url_pattern.h index b0a5b07..3fe6eb6 100644 --- a/chrome/common/extensions/url_pattern.h +++ b/chrome/common/extensions/url_pattern.h @@ -174,8 +174,9 @@ class URLPattern { }; // Used for origin comparisons in a std::set. - class EffectiveHostCompareFunctor { - public: + class EffectiveHostCompareFunctor : + public std::binary_function<URLPattern, URLPattern, bool> { + public: bool operator()(const URLPattern& a, const URLPattern& b) const { return EffectiveHostCompare(a, b); }; |