Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2030)

Unified Diff: chrome/common/extensions/extension.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/database_util.cc ('k') | chrome/common/webmessageportchannel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/common/database_util.cc ('k') | chrome/common/webmessageportchannel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698