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

Unified Diff: chrome/browser/importer/toolbar_importer.cc

Issue 16296002: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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/importer/importer_host.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/toolbar_importer.cc
diff --git a/chrome/browser/importer/toolbar_importer.cc b/chrome/browser/importer/toolbar_importer.cc
index b2da5bf6648fcb63f3467a0130dedfb3e51efc3b..9f0596b0ffe6e82b73128128c209313b76a43139 100644
--- a/chrome/browser/importer/toolbar_importer.cc
+++ b/chrome/browser/importer/toolbar_importer.cc
@@ -75,7 +75,7 @@ void Toolbar5Importer::StartImport(
bridge_ = bridge;
items_to_import_ = items;
- DCHECK(source_profile.request_context_getter);
+ DCHECK(source_profile.request_context_getter.get());
request_context_getter_ = source_profile.request_context_getter;
state_ = INITIALIZED;
@@ -173,7 +173,7 @@ void Toolbar5Importer::EndImport() {
data_fetcher_ = NULL;
}
- if (bridge_)
+ if (bridge_.get())
bridge_->NotifyEnded();
}
}
« no previous file with comments | « chrome/browser/importer/importer_host.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698