DescriptionAdd ref-count on RenderViewHost for each new RenderFrameProxyHost.
Currently, only RenderFrameHosts are ref-counting the associated RenderViewHost.
Since it is possible to have a RenderViewHost with no associated RenderFrameHost
(for example a cross-process window opener/openee relationship), it should
be taken into account that the associated RenderFrameProxyHost is also
a ref-counting the RenderViewHost.
The goal of this CL is to allow for that, even though it isn't currently
the case. It is a small step towards removing swapped out RenderFrameHosts.
BUG=357747
Committed: https://crrev.com/8542185bbb9fd0c0e7d0240c64403d2e4cea39f2
Cr-Commit-Position: refs/heads/master@{#331016}
Patch Set 1 #
Total comments: 14
Patch Set 2 : Fixes based on Charlie's review. #
Total comments: 4
Patch Set 3 : Better variable names. #Patch Set 4 : Fixes and missed CHECK. #
Messages
Total messages: 13 (2 generated)
|