summaryrefslogtreecommitdiffstats
path: root/webkit/glue/media_player_private_impl.cc
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 23:11:23 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 23:11:23 +0000
commit9c9b8cf3989c2934dc1dce75f12f29f6ebe51a13 (patch)
tree239e2871d33ea1d53f8facc43e860913f61c54c3 /webkit/glue/media_player_private_impl.cc
parent7c825a47e993f941e13d505727e0d3bc6699d193 (diff)
downloadchromium_src-9c9b8cf3989c2934dc1dce75f12f29f6ebe51a13.zip
chromium_src-9c9b8cf3989c2934dc1dce75f12f29f6ebe51a13.tar.gz
chromium_src-9c9b8cf3989c2934dc1dce75f12f29f6ebe51a13.tar.bz2
WebKit merge 41447:41498
Review URL: http://codereview.chromium.org/39297 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11210 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media_player_private_impl.cc')
-rw-r--r--webkit/glue/media_player_private_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/media_player_private_impl.cc b/webkit/glue/media_player_private_impl.cc
index 19dc2da..78c723f 100644
--- a/webkit/glue/media_player_private_impl.cc
+++ b/webkit/glue/media_player_private_impl.cc
@@ -277,9 +277,9 @@ void MediaPlayerPrivate::setVisible(bool visible) {
}
}
-void MediaPlayerPrivate::setRect(const IntRect& r) {
+void MediaPlayerPrivate::setSize(const IntSize& size) {
if (m_data) {
- AsDelegate(m_data)->SetRect(gfx::Rect(r.x(), r.y(), r.width(), r.height()));
+ AsDelegate(m_data)->SetSize(gfx::Size(size.width(), size.height()));
}
}