Chromium Code Reviews
DescriptionSend RenderViewReady when a RVH is reused and becomes active.
Normally, RenderViewHostDelegate::RenderViewReady is dispatched
whenever a RenderView is created from RVHI::CreateRenderView (as soon
as its process is ready). However, if we reused a RenderViewHost
which was previously swapped out for a new navigation, which made the
RenderViewHost active, the RenderViewReady was not dispatched. One of
the consumers of the corresponding
WebContentsObserver::RenderViewReady method was the SadTabHelper.
This meant that if a tab was showing a sad tab, and a subsequent
navigation reused a RVH bringing it into an active state, the sad tab
was not hidden. To fix this, this CL dispatches RenderViewReady in
that case.
BUG=591984
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/61e1fcd02e595f2e882f9e702f69f3363ca9ae6b
Cr-Commit-Position: refs/heads/master@{#411436}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Charlie's nit and Windows test fix #
Messages
Total messages: 15 (9 generated)
|
|||||||||||||||||||||||||||||||||||||