diff options
author | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 02:49:47 +0000 |
---|---|---|
committer | simonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 02:49:47 +0000 |
commit | 687ee7c46ec9fe254854cad2a87a9b157a55781c (patch) | |
tree | 6d47a6113b72e57aa5c04c9f3a6c98b80b02f109 /remoting | |
parent | eb6f1479f48fdda449801f9eeb5b24096723dbb0 (diff) | |
download | chromium_src-687ee7c46ec9fe254854cad2a87a9b157a55781c.zip chromium_src-687ee7c46ec9fe254854cad2a87a9b157a55781c.tar.gz chromium_src-687ee7c46ec9fe254854cad2a87a9b157a55781c.tar.bz2 |
[Chromoting] Initialise a SkISize member.
Review URL: https://chromiumcodereview.appspot.com/10700072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/capturer_linux.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/capturer_linux.cc b/remoting/host/capturer_linux.cc index 0035b74..3a1f22d 100644 --- a/remoting/host/capturer_linux.cc +++ b/remoting/host/capturer_linux.cc @@ -37,7 +37,9 @@ static bool ShouldUseXDamage() { // A class representing a full-frame pixel buffer class VideoFrameBuffer { public: - VideoFrameBuffer() : bytes_per_row_(0), needs_update_(true) {} + VideoFrameBuffer() : bytes_per_row_(0), needs_update_(true) { + size_.set(0, 0); + } void Update(Display* display, Window root_window) { if (needs_update_) { |