DescriptionUsing the correct WebTestDelegate from WebFrameTestClient.
Before this CL, WebFrameTestClient would use a global delegate passed to
it at construction time. This led to UaF issues, because this delegate
could live shorter than the WebFrameTestClient. The right delegate is
the one associated with WebViewTestProxyBase (because WebView and
WebViewTestProxyBase will live at least as long as WebFrame and
WebFrameTestClient).
BUG=646607, 606594
Patch Set 1 #
Depends on Patchset: |