Skip to content

Commit

Permalink
fix: WebFrameMain mojo pipe not reset (#30630)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com>
  • Loading branch information
trop[bot] and samuelmaddock committed Aug 19, 2021
1 parent d7d9d58 commit 7fb719f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/browser/api/electron_api_web_frame_main.cc
Expand Up @@ -80,6 +80,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 {
Expand Down

0 comments on commit 7fb719f

Please sign in to comment.