Index: chrome/browser/importer/external_process_importer_client.h |
diff --git a/chrome/browser/importer/external_process_importer_client.h b/chrome/browser/importer/external_process_importer_client.h |
index 6d31cbe8f4ff2eb00a497ea7f7049bf065cdae96..dbdf14c3feaf8216a8bbc4316d30681aeeca327c 100644 |
--- a/chrome/browser/importer/external_process_importer_client.h |
+++ b/chrome/browser/importer/external_process_importer_client.h |
@@ -109,8 +109,9 @@ class ExternalProcessImporterClient : public UtilityProcessHost::Client { |
ExternalProcessImporterHost* process_importer_host_; |
// Handles sending messages to the external process. Deletes itself when |
- // the external process dies (see ChildProcessHost::OnChildDied). |
- UtilityProcessHost* utility_process_host_; |
+ // the external process dies (see |
+ // BrowserChildProcessHost::OnChildDisconnected). |
+ base::WeakPtr<UtilityProcessHost> utility_process_host_; |
// Data to be passed from the importer host to the external importer. |
const importer::SourceProfile& source_profile_; |