Index: chrome/common/extensions/extension_file_util.cc |
diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc |
index 3990f8cefe55fa87c3e32c2739bcbd7670bc29ee..b506b588754c32918c0e5223fe8688eec058ce71 100644 |
--- a/chrome/common/extensions/extension_file_util.cc |
+++ b/chrome/common/extensions/extension_file_util.cc |
@@ -140,8 +140,9 @@ scoped_refptr<Extension> LoadExtension(const FilePath& extension_path, |
if (!manifest.get()) |
return NULL; |
if (!extension_l10n_util::LocalizeExtension(extension_path, manifest.get(), |
- error)) |
+ error)) { |
return NULL; |
+ } |
scoped_refptr<Extension> extension(Extension::Create(extension_path, |
location, |