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

Unified Diff: chrome/browser/media/cast_transport_host_filter.cc

Issue 1110333006: [chrome/browser/media] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/cast_transport_host_filter.cc
diff --git a/chrome/browser/media/cast_transport_host_filter.cc b/chrome/browser/media/cast_transport_host_filter.cc
index fde90788b7d1d2078e4accdddb211c194aae4d61..9eb0e91744e54104b4a1eeee93a0c1d40ba54c89 100644
--- a/chrome/browser/media/cast_transport_host_filter.cc
+++ b/chrome/browser/media/cast_transport_host_filter.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/media/cast_transport_host_filter.h"
+#include "base/thread_task_runner_handle.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/net/chrome_net_log.h"
#include "content/public/browser/power_save_blocker.h"
@@ -118,7 +119,7 @@ void CastTransportHostFilter::OnNew(
base::Bind(&CastTransportHostFilter::ReceivedPacket,
weak_factory_.GetWeakPtr(),
channel_id),
- base::MessageLoopProxy::current());
+ base::ThreadTaskRunnerHandle::Get());
id_map_.AddWithID(sender.release(), channel_id);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698