summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_fake_ascii.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/capturer_fake_ascii.cc')
-rw-r--r--remoting/host/capturer_fake_ascii.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/host/capturer_fake_ascii.cc b/remoting/host/capturer_fake_ascii.cc
index 8ea73c4..60656c0 100644
--- a/remoting/host/capturer_fake_ascii.cc
+++ b/remoting/host/capturer_fake_ascii.cc
@@ -45,10 +45,8 @@ void CapturerFakeAscii::CaptureRects(const InvalidRects& rects,
DataPlanes planes;
planes.data[0] = buffers_[current_buffer_].get();
planes.strides[0] = bytes_per_row_;
- scoped_refptr<CaptureData> capture_data(new CaptureData(planes,
- width_,
- height_,
- pixel_format_));
+ scoped_refptr<CaptureData> capture_data(new CaptureData(
+ planes, gfx::Size(width_, height_), pixel_format_));
FinishCapture(capture_data, callback);
}