summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_gdi.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_gdi.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_gdi.cc')
-rw-r--r--remoting/host/capturer_gdi.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/capturer_gdi.cc b/remoting/host/capturer_gdi.cc
index 8e1a375..74115bc 100644
--- a/remoting/host/capturer_gdi.cc
+++ b/remoting/host/capturer_gdi.cc
@@ -14,8 +14,9 @@ static const int kPixelsPerMeter = 3780;
// 32 bit RGBA is 4 bytes per pixel.
static const int kBytesPerPixel = 4;
-CapturerGdi::CapturerGdi()
- : desktop_dc_(NULL),
+CapturerGdi::CapturerGdi(MessageLoop* message_loop)
+ : Capturer(message_loop),
+ desktop_dc_(NULL),
memory_dc_(NULL),
capture_fullscreen_(true) {
memset(target_bitmap_, 0, sizeof(target_bitmap_));