• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git chrome/browser/printing/print_view_manager_common.cc chrome/browser/printing/print_view_manager_common.cc
2index fe86f14eeacb8..41858f4357f8e 100644
3--- chrome/browser/printing/print_view_manager_common.cc
4+++ chrome/browser/printing/print_view_manager_common.cc
5@@ -53,6 +53,8 @@ bool StoreFullPagePlugin(content::WebContents** result,
6 }
7 #endif  // BUILDFLAG(ENABLE_EXTENSIONS)
8
9+}  // namespace
10+
11 // Pick the right RenderFrameHost based on the WebContents.
12 content::RenderFrameHost* GetRenderFrameHostToUse(
13     content::WebContents* contents) {
14@@ -68,8 +70,6 @@ content::RenderFrameHost* GetRenderFrameHostToUse(
15   return contents->GetMainFrame();
16 }
17
18-}  // namespace
19-
20 void StartPrint(
21     content::WebContents* contents,
22     mojo::PendingAssociatedRemote<mojom::PrintRenderer> print_renderer,
23diff --git chrome/browser/printing/print_view_manager_common.h chrome/browser/printing/print_view_manager_common.h
24index bf67ddba35b34..7f4dcc216bbb4 100644
25--- chrome/browser/printing/print_view_manager_common.h
26+++ chrome/browser/printing/print_view_manager_common.h
27@@ -36,6 +36,10 @@ content::RenderFrameHost* GetFrameToPrint(content::WebContents* contents);
28 // guest's WebContents instead.
29 content::WebContents* GetWebContentsToUse(content::WebContents* contents);
30
31+// Pick the right RenderFrameHost based on the WebContents.
32+content::RenderFrameHost* GetRenderFrameHostToUse(
33+    content::WebContents* contents);
34+
35 }  // namespace printing
36
37 #endif  // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
38