Index: chrome/common/extensions/api/extension_action/action_info.cc |
diff --git a/chrome/common/extensions/api/extension_action/action_info.cc b/chrome/common/extensions/api/extension_action/action_info.cc |
index aa8376b06dcbc5477ccb6eab2b38be688afa1717..c30141df4dfe67ef30e815221603c18dab25e46a 100644 |
--- a/chrome/common/extensions/api/extension_action/action_info.cc |
+++ b/chrome/common/extensions/api/extension_action/action_info.cc |
@@ -68,8 +68,7 @@ std::unique_ptr<ActionInfo> ActionInfo::Load(const Extension* extension, |
dict->GetList(keys::kPageActionIcons, &icons)) { |
base::ListValue::const_iterator iter = icons->begin(); |
std::string path; |
- if (iter == icons->end() || |
- !(*iter)->GetAsString(&path) || |
+ if (iter == icons->end() || !iter->GetAsString(&path) || |
!manifest_handler_helpers::NormalizeAndValidatePath(&path)) { |
*error = base::ASCIIToUTF16(errors::kInvalidPageActionIconPath); |
return std::unique_ptr<ActionInfo>(); |