diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-02 23:37:03 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-02 23:37:03 +0000 |
commit | 5c6ac84a3d364dccc6ef221b4370c76a95c93e2b (patch) | |
tree | 95cd6d7cc72628db0c94a674a1138835cecc8157 /chrome/utility | |
parent | e2716a58c9aa6dcda4b64b65b5a402ac5ece74ac (diff) | |
download | chromium_src-5c6ac84a3d364dccc6ef221b4370c76a95c93e2b.zip chromium_src-5c6ac84a3d364dccc6ef221b4370c76a95c93e2b.tar.gz chromium_src-5c6ac84a3d364dccc6ef221b4370c76a95c93e2b.tar.bz2 |
Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes, Part 1 of N
BUG=110610
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/15836003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility')
-rw-r--r-- | chrome/utility/profile_import_handler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/utility/profile_import_handler.cc b/chrome/utility/profile_import_handler.cc index f90b128..c1119ef 100644 --- a/chrome/utility/profile_import_handler.cc +++ b/chrome/utility/profile_import_handler.cc @@ -39,9 +39,9 @@ void ProfileImportHandler::OnImportStart( localized_strings, content::UtilityThread::Get(), base::MessageLoopProxy::current()); importer_ = importer::CreateImporterByType(source_profile.importer_type); - if (!importer_) { - Send(new ProfileImportProcessHostMsg_Import_Finished(false, - "Importer could not be created.")); + if (!importer_.get()) { + Send(new ProfileImportProcessHostMsg_Import_Finished( + false, "Importer could not be created.")); return; } |