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

Unified Diff: chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc

Issue 1130993002: [chrome/browser/media_galleries/fileapi] Use ThreadTaskRunnerHandle instead of MessageLoopProxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Build Break Created 5 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/media_galleries/fileapi/safe_itunes_pref_parser_win.cc
diff --git a/chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc b/chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc
index 71965bc0a08450acb00ffaa5e8a2294578d782d4..a4d224a1d342d08cfc474ce91ebded75bb6c58b6 100644
--- a/chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc
+++ b/chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/media_galleries/fileapi/safe_itunes_pref_parser_win.h"
+#include "base/single_thread_task_runner.h"
+#include "base/thread_task_runner_handle.h"
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
@@ -41,7 +43,7 @@ void SafeITunesPrefParserWin::StartWorkOnIOThread() {
DCHECK_EQ(INITIAL_STATE, parser_state_);
UtilityProcessHost* host =
- UtilityProcessHost::Create(this, base::MessageLoopProxy::current());
+ UtilityProcessHost::Create(this, base::ThreadTaskRunnerHandle::Get());
host->SetName(l10n_util::GetStringUTF16(
IDS_UTILITY_PROCESS_MEDIA_LIBRARY_FILE_CHECKER_NAME));
host->Send(new ChromeUtilityMsg_ParseITunesPrefXml(unsafe_xml_));

Powered by Google App Engine
This is Rietveld 408576698