Description<webview>: Fix resize.
BrowserPluginHostMsg_UpdateRect_ACK ships BrowserPluginHostMsg_ResizeGuest_Params
in the message. Most of the time this struct is uninitialized, and unused. However,
BrowserPluginGuest::OnResizeGuest is called regardless. This resets resize flags,
and occasionally confuses RenderWidgetHostImpl by calling WasResized indirectly.
On certain websites, this breaks resize, or may cause resize to be delayed until
a mouse movement is performed over the content.
This patch addresses the issue by adding a size_changed field to the struct. All other fields are ignored unless that field is true.
BUG=263027
Test=manually, visit http://www.html5rocks.com/en/tutorials/pointerlock/intro in the Chrome Apps Browser demo
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213021
Patch Set 1 #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|