Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index de040df806f5faa506336956155b4d902f9632ed..e8825607592f95ae0b3657b3c9a8ac3cc8e3cfe5 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -127,7 +127,6 @@ |
#include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
#include "chrome/browser/ui/tab_contents/tab_contents.h" |
#include "chrome/browser/ui/tabs/dock_info.h" |
-#include "chrome/browser/ui/tabs/tab_finder.h" |
#include "chrome/browser/ui/tabs/tab_menu_model.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/browser/ui/web_applications/web_app_ui.h" |
@@ -430,10 +429,6 @@ Browser::Browser(Type type, Profile* profile) |
CreateInstantIfNecessary(); |
- // Make sure TabFinder has been created. This does nothing if TabFinder is |
- // not enabled. |
- TabFinder::GetInstance(); |
- |
UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_INIT); |
FilePath profile_path = profile->GetPath(); |
@@ -1247,16 +1242,6 @@ void Browser::OpenCurrentURL() { |
GURL url(location_bar->GetInputString()); |
- if (open_disposition == CURRENT_TAB && TabFinder::IsEnabled()) { |
- Browser* existing_browser = NULL; |
- WebContents* existing_tab = TabFinder::GetInstance()->FindTab( |
- this, url, &existing_browser); |
- if (existing_tab) { |
- existing_browser->ActivateContents(existing_tab); |
- return; |
- } |
- } |
- |
browser::NavigateParams params(this, url, location_bar->GetPageTransition()); |
params.disposition = open_disposition; |
// Use ADD_INHERIT_OPENER so that all pages opened by the omnibox at least |