Index: chrome/common/extensions/chrome_manifest_url_handlers.cc |
diff --git a/chrome/common/extensions/chrome_manifest_url_handlers.cc b/chrome/common/extensions/chrome_manifest_url_handlers.cc |
index 200a53e6296c2b6d7785788a5c0082f9e4f67746..3d13dd9a32e5af2c764913c83ed21590761126ab 100644 |
--- a/chrome/common/extensions/chrome_manifest_url_handlers.cc |
+++ b/chrome/common/extensions/chrome_manifest_url_handlers.cc |
@@ -103,7 +103,7 @@ bool URLOverridesHandler::Parse(Extension* extension, base::string16* error) { |
// Validate that the overrides are all strings |
for (base::DictionaryValue::Iterator iter(*overrides); !iter.IsAtEnd(); |
iter.Advance()) { |
- std::string page = iter.key(); |
+ const std::string& page = iter.key(); |
std::string val; |
// Restrict override pages to a list of supported URLs. |
bool is_allowed_host = page == chrome::kChromeUINewTabHost || |