DescriptionHoist SetNeedsBeginFrame messages up to the RWHostImpl
Previously, each RenderWidgetHostView class handled all of the
SetNeedsBeginFrameMessages sent from the renderer. However, in the case
that the render widget is initialized before the view is set, then the
SetNeedsBeginFrame message is dropped and then that renderer is never
ticked with begin frame messages.
To fix this, have the RenderWidgetHostImpl handle SetNeedsBeginFrame
messages, remember the value, and forward it to the view whenever the
view is set so the message is not lost.
R=sievers@chromium.org
BUG=635476
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/71de85ec0f6f6259824758b10db751b65b005bd2
Cr-Commit-Position: refs/heads/master@{#413533}
Patch Set 1 #Patch Set 2 : Update comment #Patch Set 3 : Fix TestRenderWidgetHostView #Patch Set 4 : Fix redundant set needs begin frames #
Total comments: 4
Patch Set 5 : Remove base class call #
Total comments: 1
Messages
Total messages: 38 (27 generated)
|