fix: WebFrameMain mojo pipe not reset (#30629)

This commit is contained in:
Samuel Maddock 2021-08-19 02:10:11 -04:00 committed by GitHub
parent 11de995d38
commit cb7c16cb2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,7 @@ void WebFrameMain::UpdateRenderFrameHost(content::RenderFrameHost* rfh) {
// Should only be called when swapping frames.
DCHECK(render_frame_);
render_frame_ = rfh;
renderer_api_.reset();
}
bool WebFrameMain::CheckRenderFrame() const {