diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 21:21:26 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-13 21:21:26 +0000 |
commit | 54b2c7a7ff4346537d4b83b532890fb0094b9686 (patch) | |
tree | fa4632c9677462aedd4024112a5312f3249d6ab1 /remoting | |
parent | 75e16bcd60ff7e60a375bbe0efd27f8ac919a756 (diff) | |
download | chromium_src-54b2c7a7ff4346537d4b83b532890fb0094b9686.zip chromium_src-54b2c7a7ff4346537d4b83b532890fb0094b9686.tar.gz chromium_src-54b2c7a7ff4346537d4b83b532890fb0094b9686.tar.bz2 |
Call SetViewport when client is inite'ed
BUG=none
TEST=run chromoting host/client, verify it works
Review URL: http://codereview.chromium.org/3709004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/client/chromoting_client.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc index 70a5c49..272f293 100644 --- a/remoting/client/chromoting_client.cc +++ b/remoting/client/chromoting_client.cc @@ -212,6 +212,7 @@ void ChromotingClient::InitClient(const InitClientMessage& init_client, // TODO(ajwong): What to do here? Does the decoder actually need to request // the right frame size? This is mainly an optimization right? // rectangle_decoder_->SetOutputFrameSize(width, height); + view_->SetViewport(0, 0, width, height); // Schedule the input handler to process the event queue. input_handler_->Initialize(); |