Index: extensions/browser/api/declarative/rules_registry_service.h |
diff --git a/extensions/browser/api/declarative/rules_registry_service.h b/extensions/browser/api/declarative/rules_registry_service.h |
index 8f16cb2a530ea7778fce779fe6049da72e6ebc24..c00ce5749c4d2f37213dc0fa5950736d802229ea 100644 |
--- a/extensions/browser/api/declarative/rules_registry_service.h |
+++ b/extensions/browser/api/declarative/rules_registry_service.h |
@@ -40,9 +40,8 @@ class RulesRegistryService : public BrowserContextKeyedAPI, |
struct RulesRegistryKey { |
std::string event_name; |
int rules_registry_id; |
- RulesRegistryKey(const std::string event_name, int rules_registry_id) |
- : event_name(event_name), |
- rules_registry_id(rules_registry_id) {} |
+ RulesRegistryKey(const std::string& event_name, int rules_registry_id) |
+ : event_name(event_name), rules_registry_id(rules_registry_id) {} |
bool operator<(const RulesRegistryKey& other) const { |
return (event_name < other.event_name) || |
((event_name == other.event_name) && |