Index: content/renderer/browser_plugin/browser_plugin.cc |
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc |
index 75af8912790bcf84ebd5744dde7711472fb41a1a..75f6dbeb49903438720ce468eb1c7f6c4666d29e 100644 |
--- a/content/renderer/browser_plugin/browser_plugin.cc |
+++ b/content/renderer/browser_plugin/browser_plugin.cc |
@@ -428,6 +428,13 @@ void BrowserPlugin::OnUpdateRect( |
(width() != params.view_size.width() || |
height() != params.view_size.height())) || |
(auto_size_ && (!InAutoSizeBounds(params.view_size)))) { |
Cris Neckar
2013/01/08 23:22:35
Not part of your CL but it feels like InAutoSizeBo
|
+ // We are HW accelerated, render widget does not expect an ack, |
+ // but we still need to update the size. |
+ if (!params.needs_ack) { |
+ UpdateGuestAutoSizeState(); |
+ return; |
+ } |
+ |
if (!resize_ack_received_) { |
// The guest has not yet responded to the last resize request, and |
// so we don't want to do anything at this point other than ACK the guest. |