| Index: chrome/browser/content_settings/content_settings_provider.cc
|
| diff --git a/chrome/browser/content_settings/content_settings_provider.cc b/chrome/browser/content_settings/content_settings_provider.cc
|
| index 282c79885c22b29261ce63889714ef2993510914..cac18ca97eb1118470c1781bf6beff71d246f262 100644
|
| --- a/chrome/browser/content_settings/content_settings_provider.cc
|
| +++ b/chrome/browser/content_settings/content_settings_provider.cc
|
| @@ -18,4 +18,12 @@ ProviderInterface::Rule::Rule(const ContentSettingsPattern& primary_pattern,
|
| content_setting(setting) {
|
| }
|
|
|
| +bool ProviderInterface::Rule::operator<(const Rule& rhs) const {
|
| + if (primary_pattern < rhs.primary_pattern)
|
| + return true;
|
| + if (rhs.primary_pattern < primary_pattern)
|
| + return false;
|
| + return (secondary_pattern < rhs.secondary_pattern);
|
| +}
|
| +
|
| } // namespace content_settings
|
|
|