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

Unified Diff: remoting/host/capturer.cc

Issue 4971003: Inject MessageLoop into Capturer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
Index: remoting/host/capturer.cc
diff --git a/remoting/host/capturer.cc b/remoting/host/capturer.cc
index b66e577260909e1a72fc60740145ec6ec4bcc03c..3e32070703a51185da899d41e624bee78908533a 100644
--- a/remoting/host/capturer.cc
+++ b/remoting/host/capturer.cc
@@ -10,12 +10,13 @@
namespace remoting {
-Capturer::Capturer()
+Capturer::Capturer(MessageLoop* message_loop)
: width_(0),
height_(0),
pixel_format_(media::VideoFrame::INVALID),
bytes_per_row_(0),
- current_buffer_(0) {
+ current_buffer_(0),
+ message_loop_(message_loop) {
}
Capturer::~Capturer() {

Powered by Google App Engine
This is Rietveld 408576698