From 791907f0f3559ed5e6c829a0387b12c9437a3ba7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 5 Jun 2024 18:31:52 -0500 Subject: [PATCH] refactor: move WebFrameRenderer into an anonymous namespace (#42369) --- shell/renderer/api/electron_api_web_frame.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell/renderer/api/electron_api_web_frame.cc b/shell/renderer/api/electron_api_web_frame.cc index 64dd277ae80a..f6eb8bf2dca5 100644 --- a/shell/renderer/api/electron_api_web_frame.cc +++ b/shell/renderer/api/electron_api_web_frame.cc @@ -327,8 +327,6 @@ class SpellCheckerHolder final : private content::RenderFrameObserver { std::unique_ptr spell_check_client_; }; -} // namespace - class WebFrameRenderer : public gin::Wrappable, private content::RenderFrameObserver { public: @@ -902,6 +900,7 @@ class WebFrameRenderer : public gin::Wrappable, return render_frame->GetRoutingID(); } }; +} // namespace gin::WrapperInfo WebFrameRenderer::kWrapperInfo = {gin::kEmbedderNativeGin};