| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index dc11856b2e10223da756c659f14447620a7e5215..5d87fd0a005af66ec7b663426243c4112b7dece9 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -288,7 +288,7 @@ scoped_refptr<Extension> Extension::Create(const FilePath& path,
|
| const DictionaryValue& value,
|
| bool require_key,
|
| std::string* error) {
|
| - scoped_refptr<Extension> extension = new Extension(path, location);
|
| + scoped_refptr<Extension> extension(new Extension(path, location));
|
| if (!extension->InitFromValue(value, require_key, error))
|
| return NULL;
|
| return extension;
|
|
|