DescriptionUse IsRenderViewLive() to test for SadTab in ZoomController.
In a previous attempt to prevent SadTab pages from being zoomable we
attempted to use RenderProcessHost::HasConnection, but this fails in
the case where a new tab can be started in the same RenderProcessHost
while the SadTab is still visible. This CL switches to testing to see
if the RenderView for the tab in question is live in order to avoid
this problem.
BUG=407562
Committed: https://crrev.com/5eeba9136acc2d74d7065249c4359d752b9258dd
Cr-Commit-Position: refs/heads/master@{#292988}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments, fix test. #Patch Set 3 : Rebase to r292920. #
Messages
Total messages: 13 (4 generated)
|