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

Unified Diff: remoting/host/capturer_linux.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_linux.cc
diff --git a/remoting/host/capturer_linux.cc b/remoting/host/capturer_linux.cc
index 2f2f8f0cbdbe5677bbc102e43cc281797c08512f..404d52702a31f8638bbc79464ac22e7a792975bd 100644
--- a/remoting/host/capturer_linux.cc
+++ b/remoting/host/capturer_linux.cc
@@ -84,8 +84,9 @@ class CapturerLinuxPimpl {
bool capture_fullscreen_;
};
-CapturerLinux::CapturerLinux()
- : pimpl_(new CapturerLinuxPimpl(this)) {
+CapturerLinux::CapturerLinux(MessageLoop* message_loop)
+ : Capturer(message_loop),
+ pimpl_(new CapturerLinuxPimpl(this)) {
// TODO(ajwong): This should be moved into an Init() method on Capturer
// itself. Then we can remove the CHECK.
CHECK(pimpl_->Init());

Powered by Google App Engine
This is Rietveld 408576698