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

Unified Diff: content/renderer/media/video_capture_message_filter.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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 | « content/renderer/media/video_capture_impl_unittest.cc ('k') | content/renderer/p2p/host_address_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_message_filter.cc
diff --git a/content/renderer/media/video_capture_message_filter.cc b/content/renderer/media/video_capture_message_filter.cc
index aa30ca2fb0fa9ce7b8cb6cae0168a94a23c86b0e..4a88e2df9323a466ea34ab11e6982fc19727b488 100644
--- a/content/renderer/media/video_capture_message_filter.cc
+++ b/content/renderer/media/video_capture_message_filter.cc
@@ -40,7 +40,7 @@ bool VideoCaptureMessageFilter::OnMessageReceived(const IPC::Message& message) {
void VideoCaptureMessageFilter::OnFilterAdded(IPC::Channel* channel) {
VLOG(1) << "VideoCaptureMessageFilter::OnFilterAdded()";
// Captures the message loop proxy for IPC.
- message_loop_proxy_ = base::MessageLoopProxy::CreateForCurrentThread();
+ message_loop_proxy_ = base::MessageLoopProxy::current();
channel_ = channel;
for (Delegates::iterator it = pending_delegates_.begin();
« no previous file with comments | « content/renderer/media/video_capture_impl_unittest.cc ('k') | content/renderer/p2p/host_address_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698