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_mac.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_mac.cc
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc
index 4595a95ca8769a722e41f17d2c2dd4d7a7613cc0..2ed4c652eaebd10f69026d6b86441ff80f2ceb49 100644
--- a/remoting/host/capturer_mac.cc
+++ b/remoting/host/capturer_mac.cc
@@ -10,7 +10,9 @@
namespace remoting {
-CapturerMac::CapturerMac() : cgl_context_(NULL) {
+CapturerMac::CapturerMac(MessageLoop* message_loop)
+ : Capturer(message_loop),
+ cgl_context_(NULL) {
// TODO(dmaclach): move this initialization out into session_manager,
// or at least have session_manager call into here to initialize it.
CGError err =

Powered by Google App Engine
This is Rietveld 408576698