Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index 55acb6a97a686c27dd831312c3cb23d7c175ab1e..592cf39c4c8000dfef6cc49db00c36b9a67e2176 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -1598,3 +1598,13 @@ ChromeContentRendererClient::GetTaskSchedulerInitParams() { |
return task_scheduler_util:: |
GetRendererTaskSchedulerInitParamsFromCommandLine(); |
} |
+ |
+blink::WebFrame* ChromeContentRendererClient::FindFrame( |
+ blink::WebLocalFrame* relative_to_frame, |
+ const std::string& name) { |
+#if BUILDFLAG(ENABLE_EXTENSIONS) |
+ return ChromeExtensionsRendererClient::FindFrame(relative_to_frame, name); |
+#else |
+ return nullptr; |
+#endif // BUILDFLAG(ENABLE_EXTENSIONS) |
+} |