Index: chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc |
diff --git a/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc b/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc |
index 3de0b8a6907799f0a5a7c8382daf35b6a805f8a9..9888300d8a730ea81f056eb927abcff9f23f405d 100644 |
--- a/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc |
+++ b/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/extensions/blob_reader.h" |
#include "chrome/common/extensions/chrome_utility_extensions_messages.h" |
#include "chrome/grit/generated_resources.h" |
@@ -50,7 +52,7 @@ void SafeMediaMetadataParser::StartWorkOnIOThread( |
callback_ = callback; |
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)); |