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 5fa4a895e70f67ef7963f1c3eb6372ae03b0b472..a7d0931b4e2e5a1b27e110060191a223a1c4fd4b 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -1392,6 +1392,24 @@ void ChromeContentRendererClient::AddImageContextMenuProperties( |
} |
} |
+void ChromeContentRendererClient::RunScriptsAtDocumentStart( |
+ content::RenderFrame* render_frame) { |
+#if defined(ENABLE_EXTENSIONS) |
+ ChromeExtensionsRendererClient::GetInstance()->RunScriptsAtDocumentStart( |
+ render_frame); |
+ // |render_frame| might be dead by now. |
+#endif |
+} |
+ |
+void ChromeContentRendererClient::RunScriptsAtDocumentEnd( |
+ content::RenderFrame* render_frame) { |
+#if defined(ENABLE_EXTENSIONS) |
+ ChromeExtensionsRendererClient::GetInstance()->RunScriptsAtDocumentEnd( |
+ render_frame); |
+ // |render_frame| might be dead by now. |
+#endif |
+} |
+ |
void |
ChromeContentRendererClient::DidInitializeServiceWorkerContextOnWorkerThread( |
v8::Local<v8::Context> context, |