Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 61554f7f7208b7e9ecac82b1c2962ae21640ff39..070baedffbb83663f5b6b49a47bf2bf2d1dd2656 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -5431,7 +5431,8 @@ void RenderViewImpl::OnDisableAutoResize(const gfx::Size& new_size) { |
return; |
webview()->disableAutoResizeMode(); |
- Resize(new_size, resizer_rect_, is_fullscreen_, NO_RESIZE_ACK); |
+ Resize(new_size, physical_backing_size_, resizer_rect_, is_fullscreen_, |
+ NO_RESIZE_ACK); |
} |
void RenderViewImpl::OnEnablePreferredSizeChangedMode() { |
@@ -5726,6 +5727,7 @@ void RenderViewImpl::OnMoveOrResizeStarted() { |
} |
void RenderViewImpl::OnResize(const gfx::Size& new_size, |
+ const gfx::Size& physical_backing_size, |
const gfx::Rect& resizer_rect, |
bool is_fullscreen) { |
if (webview()) { |
@@ -5737,7 +5739,8 @@ void RenderViewImpl::OnResize(const gfx::Size& new_size, |
UpdateScrollState(webview()->mainFrame()); |
} |
- RenderWidget::OnResize(new_size, resizer_rect, is_fullscreen); |
+ RenderWidget::OnResize(new_size, physical_backing_size, resizer_rect, |
+ is_fullscreen); |
} |
void RenderViewImpl::WillInitiatePaint() { |