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

Unified Diff: remoting/capturer/video_frame_capturer_fake.cc

Issue 11781003: Connect to DesktopEnvironment's stubs only when audio/video schedulers are about to be created. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 months 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/capturer/video_frame_capturer_fake.cc
diff --git a/remoting/capturer/video_frame_capturer_fake.cc b/remoting/capturer/video_frame_capturer_fake.cc
index a27e62cf1aea85804862322076bb6e24ba33d1b7..7c25432f13c2c0302fc11019381afe5e8370ac53 100644
--- a/remoting/capturer/video_frame_capturer_fake.cc
+++ b/remoting/capturer/video_frame_capturer_fake.cc
@@ -12,8 +12,8 @@ namespace remoting {
// VideoFrameCapturerFake generates a white picture of size kWidth x kHeight
// with a rectangle of size kBoxWidth x kBoxHeight. The rectangle moves kSpeed
// pixels per frame along both axes, and bounces off the sides of the screen.
-static const int kWidth = 800;
-static const int kHeight = 600;
+static const int kWidth = VideoFrameCapturerFake::kWidth;
Wez 2013/01/08 18:34:00 nit: using VideoFrameCapturerFake::kWidth;
alexeypa (please no reviews) 2013/01/08 20:00:14 This does not compile. I guess because VideoFrameC
+static const int kHeight = VideoFrameCapturerFake::kHeight;
static const int kBoxWidth = 140;
static const int kBoxHeight = 140;
static const int kSpeed = 20;

Powered by Google App Engine
This is Rietveld 408576698