Index: chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
diff --git a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
index 44a4ff1995a84cdde3740fa6a77a146a7a87cb3d..b07e89cdb5dc141bd4a83092d31eaa21850a6a5e 100644 |
--- a/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
+++ b/chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc |
@@ -254,8 +254,8 @@ bool LoadFileBrowserHandlers( |
FileBrowserHandler::List* result, |
base::string16* error) { |
for (const auto& entry : *extension_actions) { |
- base::DictionaryValue* dict; |
- if (!entry->GetAsDictionary(&dict)) { |
+ const base::DictionaryValue* dict; |
+ if (!entry.GetAsDictionary(&dict)) { |
*error = base::ASCIIToUTF16(errors::kInvalidFileBrowserHandler); |
return false; |
} |