Index: webkit/media/webmediaplayer_impl.h |
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h |
index 9518f24c43ceb167c134d8a1eba7f213f7dbd6da..14a681769bb2a5c7f28f159a68486afa2bf6fe20 100644 |
--- a/webkit/media/webmediaplayer_impl.h |
+++ b/webkit/media/webmediaplayer_impl.h |
@@ -72,6 +72,10 @@ namespace WebKit { |
class WebFrame; |
} |
+namespace base { |
+class MessageLoopProxy; |
+} |
+ |
namespace media { |
class ChunkDemuxer; |
class MediaLog; |
@@ -282,9 +286,9 @@ class WebMediaPlayerImpl |
// Keep a list of buffered time ranges. |
WebKit::WebTimeRanges buffered_; |
- // Message loops for posting tasks between Chrome's main thread. Also used |
+ // Message loops for posting tasks on Chrome's main thread. Also used |
// for DCHECKs so methods calls won't execute in the wrong thread. |
- MessageLoop* main_loop_; |
+ scoped_refptr<base::MessageLoopProxy> main_loop_; |
scoped_ptr<media::FilterCollection> filter_collection_; |
scoped_refptr<media::Pipeline> pipeline_; |