Chromium Code Reviews
DescriptionFix missing backing store in Linux.
Issue: In the renderer host, the RenderWidgetHostView gets created before the ViewMsg_New gets sent. In the Linux code, gtk packing of the RenderWidgetHostView will cause a configure-event to happen, which leads to ViewHost_Resize getting sent before the ViewMsg_New gets sent. This eventually leads to the backing store never getting created. See the bug report for details.
Fix:
Add a SetChildSize() method to WebContentsView.
Windows and Mac keep their current flow of just calling SetSize() on the child.
Linux defers packing from the RenderWidgetHostView creation to the SetChildSize() call.
BUG=9830
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13725
Patch Set 1 #Patch Set 2 : Woops, typos for mac and win. Fixed. #
Total comments: 2
Patch Set 3 : Move the private pure virtuals to public, drop the *Internal methods. #Patch Set 4 : Fix some lint errors. #
Total comments: 1
Patch Set 5 : Delete unnecessary member variable. #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||