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 eb549e20ff2a180c8e810abfd51b819e022956a5..b782b5390e45a6ce1df416d57596c624b688b82f 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -59,7 +59,6 @@ |
#include "chrome/renderer/print_web_view_helper.h" |
#include "chrome/renderer/safe_browsing/malware_dom_details.h" |
#include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" |
-#include "chrome/renderer/search_extension.h" |
#include "chrome/renderer/searchbox.h" |
#include "chrome/renderer/searchbox_extension.h" |
#include "chrome/renderer/spellchecker/spellcheck.h" |
@@ -178,10 +177,6 @@ void ChromeContentRendererClient::RenderThreadStarted() { |
thread->RegisterExtension(extensions_v8::ExternalExtension::Get()); |
thread->RegisterExtension(extensions_v8::LoadTimesExtension::Get()); |
thread->RegisterExtension(extensions_v8::SearchBoxExtension::Get()); |
- v8::Extension* search_extension = extensions_v8::SearchExtension::Get(); |
- // search_extension is null if not enabled. |
- if (search_extension) |
- thread->RegisterExtension(search_extension); |
CommandLine* command_line = CommandLine::ForCurrentProcess(); |
if (command_line->HasSwitch(switches::kEnableBenchmarking)) |