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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.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/p2p/socket_dispatcher.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index c061b80df3ec0e18cc24074ef9436566d2e9d721..449176597654c1f5e87c2b9ea31c34e49c16d590 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -381,7 +381,7 @@ class PlatformVideoCaptureImpl
public:
PlatformVideoCaptureImpl(media::VideoCapture::EventHandler* handler)
: handler_proxy_(new media::VideoCaptureHandlerProxy(
- handler, base::MessageLoopProxy::CreateForCurrentThread())) {
+ handler, base::MessageLoopProxy::current())) {
VideoCaptureImplManager* manager =
RenderThread::current()->video_capture_impl_manager();
// 1 means the "default" video capture device.
« no previous file with comments | « content/renderer/p2p/socket_dispatcher.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698