From 467aca55f38b251b636f638d61408d420d570c11 Mon Sep 17 00:00:00 2001 From: "simonmorris@chromium.org" Date: Thu, 10 Mar 2011 11:51:08 +0000 Subject: Tidy up after CL 6573005. Replace width/height pairs with gfx::Size objects. Avoid overloading Capturer::InvalidateFullScreen. BUG=none TEST=none Review URL: http://codereview.chromium.org/6635039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77625 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/capturer_fake_ascii.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'remoting/host/capturer_fake_ascii.cc') 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 capture_data(new CaptureData(planes, - width_, - height_, - pixel_format_)); + scoped_refptr capture_data(new CaptureData( + planes, gfx::Size(width_, height_), pixel_format_)); FinishCapture(capture_data, callback); } -- cgit v1.1