summaryrefslogtreecommitdiffstats
path: root/remoting/host/video_frame_capturer_fake.cc
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-23 20:40:03 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-23 20:40:03 +0000
commit40ec16582dd631888a3c8473c0aff56b23b6dc41 (patch)
tree3fa475c6fb3be2453f97f9978a6d06acda69e509 /remoting/host/video_frame_capturer_fake.cc
parent65dfc60d7035875767bcddf62b9201f16126222a (diff)
downloadchromium_src-40ec16582dd631888a3c8473c0aff56b23b6dc41.zip
chromium_src-40ec16582dd631888a3c8473c0aff56b23b6dc41.tar.gz
chromium_src-40ec16582dd631888a3c8473c0aff56b23b6dc41.tar.bz2
[Chromoting] Tidy up SkISize initialization.
The root cause of crbug.com/137878 was r103533, which replaced a class whose default constructor initialized objects fully, with a struct for which that isn't the case. Review URL: https://chromiumcodereview.appspot.com/10796072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/video_frame_capturer_fake.cc')
-rw-r--r--remoting/host/video_frame_capturer_fake.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/video_frame_capturer_fake.cc b/remoting/host/video_frame_capturer_fake.cc
index 0fff545..aff8f3e 100644
--- a/remoting/host/video_frame_capturer_fake.cc
+++ b/remoting/host/video_frame_capturer_fake.cc
@@ -25,7 +25,8 @@ COMPILE_ASSERT((kBoxWidth % kSpeed == 0) && (kWidth % kSpeed == 0) &&
static const int kBytesPerPixel = 4; // 32 bit RGB is 4 bytes per pixel.
VideoFrameCapturerFake::VideoFrameCapturerFake()
- : bytes_per_row_(0),
+ : size_(SkISize::Make(0, 0)),
+ bytes_per_row_(0),
box_pos_x_(0),
box_pos_y_(0),
box_speed_x_(kSpeed),