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

Unified Diff: remoting/host/capturer_gdi.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_gdi.cc
diff --git a/remoting/host/capturer_gdi.cc b/remoting/host/capturer_gdi.cc
index 8e1a375d30cf077cef3a4b5b7631ebfb02a0c1fd..74115bc37070028545e7cdb33485dfa3580e68b4 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_));

Powered by Google App Engine
This is Rietveld 408576698