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

Unified Diff: remoting/host/capturer_fake.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_fake.cc
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc
index 80f147abb15c6096f2b79a117f43d9f3b1cbe22c..f9684e2f8e90479982fbd1f0da0e8dfeb4de293b 100644
--- a/remoting/host/capturer_fake.cc
+++ b/remoting/host/capturer_fake.cc
@@ -24,8 +24,9 @@ COMPILE_ASSERT((kBoxWidth % kSpeed == 0) && (kWidth % kSpeed == 0) &&
static const int kBytesPerPixel = 4; // 32 bit RGB is 4 bytes per pixel.
-CapturerFake::CapturerFake()
- : box_pos_x_(0),
+CapturerFake::CapturerFake(MessageLoop* message_loop)
+ : Capturer(message_loop),
+ box_pos_x_(0),
box_pos_y_(0),
box_speed_x_(kSpeed),
box_speed_y_(kSpeed) {

Powered by Google App Engine
This is Rietveld 408576698