From 2eed61fc21cb71082afd894c3bcd482b9ed78c0f Mon Sep 17 00:00:00 2001
From: John Zimmermann <me@johnnynator.dev>
Date: Mon, 30 Aug 2021 23:02:20 +0200
Subject: [PATCH 1/2] Revert "fix: WebFrameMain mojo pipe not reset (#30630)"

This reverts commit 7fb719f261e14a857ea4dbc6cfa8ab697670427d.
---
 shell/browser/api/electron_api_web_frame_main.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/shell/browser/api/electron_api_web_frame_main.cc b/shell/browser/api/electron_api_web_frame_main.cc
index 780a976..185cdc4 100644
--- a/shell/browser/api/electron_api_web_frame_main.cc
+++ b/shell/browser/api/electron_api_web_frame_main.cc
@@ -80,7 +80,6 @@ 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 {
-- 
2.33.0

