Commit 6588fff6 authored by kuchhal@chromium.org's avatar kuchhal@chromium.org

Fix a DCHECK hit from RefCountedBase class.

Review URL: http://codereview.chromium.org/100170


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14894 0039d316-1c4b-4281-b951-d872f2087c98
parent 91278f54
......@@ -291,9 +291,9 @@ bool FirstRun::ProcessMasterPreferences(
if (import_items) {
// There is something to import from the default browser. This launches
// the importer process and blocks until done or until it fails.
ImporterHost importer_host;
scoped_refptr<ImporterHost> importer_host = new ImporterHost();
if (!FirstRun::ImportSettings(NULL,
importer_host.GetSourceProfileInfoAt(0).browser_type,
importer_host->GetSourceProfileInfoAt(0).browser_type,
import_items, NULL)) {
LOG(WARNING) << "silent import failed";
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment