summaryrefslogtreecommitdiffstats
path: root/remoting/host/capturer_mac.cc
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-10 11:51:08 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-10 11:51:08 +0000
commit467aca55f38b251b636f638d61408d420d570c11 (patch)
treefda9063580b467a4a21fd8f1a1bd317991ce1a0b /remoting/host/capturer_mac.cc
parentab0fb9834c6f3b3ee9d86a8c5a6ba3a5b69b2ac8 (diff)
downloadchromium_src-467aca55f38b251b636f638d61408d420d570c11.zip
chromium_src-467aca55f38b251b636f638d61408d420d570c11.tar.gz
chromium_src-467aca55f38b251b636f638d61408d420d570c11.tar.bz2
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
Diffstat (limited to 'remoting/host/capturer_mac.cc')
-rw-r--r--remoting/host/capturer_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/capturer_mac.cc b/remoting/host/capturer_mac.cc
index 947c4e5..b95b545 100644
--- a/remoting/host/capturer_mac.cc
+++ b/remoting/host/capturer_mac.cc
@@ -115,7 +115,7 @@ void CapturerMac::CaptureRects(const InvalidRects& rects,
planes.strides[0] = bytes_per_row_;
scoped_refptr<CaptureData> data(
- new CaptureData(planes, width_, height_, pixel_format()));
+ new CaptureData(planes, gfx::Size(width_, height_), pixel_format()));
data->mutable_dirty_rects() = rects;
FinishCapture(data, callback);
}