diff options
author | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-29 00:50:41 +0000 |
---|---|---|
committer | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-29 00:50:41 +0000 |
commit | 37479089b912d20b0453b20ea85aef03a1fca934 (patch) | |
tree | 8a12c2c7c4f0f4582e533b6b79398118fe93c693 /content/renderer/media/video_capture_impl.h | |
parent | cdf99fe02a1ed403a20fac4a4630d9342f416fb1 (diff) | |
download | chromium_src-37479089b912d20b0453b20ea85aef03a1fca934.zip chromium_src-37479089b912d20b0453b20ea85aef03a1fca934.tar.gz chromium_src-37479089b912d20b0453b20ea85aef03a1fca934.tar.bz2 |
keep a reference of io_message_loop_proxy in case VideoCaptureImpl outlives io thread.
Review URL: https://chromiumcodereview.appspot.com/9699037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/video_capture_impl.h')
-rw-r--r-- | content/renderer/media/video_capture_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/content/renderer/media/video_capture_impl.h b/content/renderer/media/video_capture_impl.h index 57b6238..8d8a0e8 100644 --- a/content/renderer/media/video_capture_impl.h +++ b/content/renderer/media/video_capture_impl.h @@ -51,7 +51,7 @@ class CONTENT_EXPORT VideoCaptureImpl struct DIBBuffer; VideoCaptureImpl(media::VideoCaptureSessionId id, - scoped_refptr<base::MessageLoopProxy> ml_proxy, + base::MessageLoopProxy* capture_message_loop_proxy, VideoCaptureMessageFilter* filter); virtual ~VideoCaptureImpl(); @@ -81,7 +81,8 @@ class CONTENT_EXPORT VideoCaptureImpl bool ClientHasDIB(); scoped_refptr<VideoCaptureMessageFilter> message_filter_; - scoped_refptr<base::MessageLoopProxy> ml_proxy_; + scoped_refptr<base::MessageLoopProxy> capture_message_loop_proxy_; + scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; int device_id_; // Pool of DIBs. |