summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_fake.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 05:17:35 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 05:17:35 +0000
commita7b869bdf6b2c71b30599bbd72f3e1ebdee98fee (patch)
tree13dd6f9c986da2e17f8e6053f97cf1a265819ce2 /remoting/host/capturer_fake.cc
parent1631f7c651fbc7f4460a852126f545afc5513531 (diff)
downloadchromium_src-a7b869bdf6b2c71b30599bbd72f3e1ebdee98fee.zip
chromium_src-a7b869bdf6b2c71b30599bbd72f3e1ebdee98fee.tar.gz
chromium_src-a7b869bdf6b2c71b30599bbd72f3e1ebdee98fee.tar.bz2
Inject MessageLoop into Capturer
Simple patch to juse inject the message loop. BUG=None TEST=None Review URL: http://codereview.chromium.org/4971003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/capturer_fake.cc')
-rw-r--r--remoting/host/capturer_fake.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc
index 80f147a..f9684e2 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) {