summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins')
-rw-r--r--webkit/glue/plugins/webplugin_delegate_impl_mac.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm
index 1051e09..3e86a7b 100644
--- a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm
+++ b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm
@@ -736,8 +736,7 @@ void WebPluginDelegateImpl::UpdateAcceleratedSurface() {
window_rect_.width(), window_rect_.height())];
[renderer_ setBounds:[layer_ bounds]];
- uint64 io_surface_id = surface_->SetSurfaceSize(window_rect_.width(),
- window_rect_.height());
+ uint64 io_surface_id = surface_->SetSurfaceSize(window_rect_.size());
if (io_surface_id) {
plugin_->SetAcceleratedSurface(windowed_handle(),
window_rect_.width(),