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

Unified Diff: chrome/browser/first_run/first_run.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/browser/extensions/extensions_startup.cc ('k') | chrome/browser/geolocation/access_token_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 54f030ed7e603f6eb0daf5c30512a4ac41d8c14d..525c091ef4b81b6b24af74973fab76703c6d68af 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -405,7 +405,7 @@ int FirstRun::ImportFromFile(Profile* profile, const CommandLine& cmdline) {
NOTREACHED();
return false;
}
- scoped_refptr<ImporterHost> importer_host = new ImporterHost();
+ scoped_refptr<ImporterHost> importer_host(new ImporterHost());
FirstRunImportObserver observer;
importer_host->set_headless();
« no previous file with comments | « chrome/browser/extensions/extensions_startup.cc ('k') | chrome/browser/geolocation/access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698