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

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

Issue 15987009: Update chrome/ to use WeakPtr<T>::get() instead of implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/importer/external_process_importer_client.cc
diff --git a/chrome/browser/importer/external_process_importer_client.cc b/chrome/browser/importer/external_process_importer_client.cc
index f102e108d8dd2c2364dbb79b253dfadb6a3db2e6..d946cfe404eef12cec8a7b9bb6172639b4050bef 100644
--- a/chrome/browser/importer/external_process_importer_client.cc
+++ b/chrome/browser/importer/external_process_importer_client.cc
@@ -249,7 +249,7 @@ void ExternalProcessImporterClient::Cleanup() {
}
void ExternalProcessImporterClient::CancelImportProcessOnIOThread() {
- if (utility_process_host_)
+ if (utility_process_host_.get())
utility_process_host_->Send(new ProfileImportProcessMsg_CancelImport());
}
« no previous file with comments | « chrome/browser/history/delete_directive_handler.cc ('k') | chrome/browser/media/media_stream_capture_indicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698