fix: WebFrameMain mojo pipe not reset (#30632)

Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
This commit is contained in:
trop[bot]
2021-08-19 16:55:21 +09:00
committed by GitHub
parent b26760bed5
commit e44b02b9ad

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 {