Index: chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc |
diff --git a/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc b/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc |
index f4f67a8bd97b09b49050d2c3b1b8d3921bc3cfa0..3eb5b6e95c2d30d217e008efb062c100289ad66b 100644 |
--- a/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc |
+++ b/chrome/browser/media_galleries/fileapi/safe_audio_video_checker.cc |
@@ -9,6 +9,8 @@ |
#include "base/location.h" |
#include "base/logging.h" |
#include "base/process/process_handle.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/common/chrome_utility_messages.h" |
#include "chrome/common/extensions/chrome_utility_extensions_messages.h" |
#include "chrome/grit/generated_resources.h" |
@@ -39,7 +41,7 @@ void SafeAudioVideoChecker::Start() { |
} |
utility_process_host_ = content::UtilityProcessHost::Create( |
- this, base::MessageLoopProxy::current())->AsWeakPtr(); |
+ this, base::ThreadTaskRunnerHandle::Get())->AsWeakPtr(); |
utility_process_host_->SetName(l10n_util::GetStringUTF16( |
IDS_UTILITY_PROCESS_MEDIA_FILE_CHECKER_NAME)); |
utility_process_host_->Send(new ChromeUtilityMsg_StartupPing); |