summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 17:22:34 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-18 17:22:34 +0000
commit36cc3de6e3f6b7cbbd57ce0156fa030ca379d46a (patch)
tree3fd17f02af6d74cd94e3f62a0fb58cc5a57d2f6e /remoting
parent0c36dc12176391d8dbd7793588f766ecac8bd11b (diff)
downloadchromium_src-36cc3de6e3f6b7cbbd57ce0156fa030ca379d46a.zip
chromium_src-36cc3de6e3f6b7cbbd57ce0156fa030ca379d46a.tar.gz
chromium_src-36cc3de6e3f6b7cbbd57ce0156fa030ca379d46a.tar.bz2
Call SceenConfigurationChanged from CapturerFake constructor.
CapturerFake doesn't work without this change because screen parameters are never initialized. BUG=None TEST=None Review URL: http://codereview.chromium.org/3801010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/capturer_fake.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/capturer_fake.cc b/remoting/host/capturer_fake.cc
index e546788..56b43cf 100644
--- a/remoting/host/capturer_fake.cc
+++ b/remoting/host/capturer_fake.cc
@@ -15,6 +15,7 @@ static const int kMaxColorChannelValue = 255;
CapturerFake::CapturerFake()
: seed_(0) {
+ ScreenConfigurationChanged();
}
CapturerFake::~CapturerFake() {