summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history_tab_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/history/history_tab_helper.cc')
-rw-r--r--chrome/browser/history/history_tab_helper.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc
index 5438b97..f0285ab 100644
--- a/chrome/browser/history/history_tab_helper.cc
+++ b/chrome/browser/history/history_tab_helper.cc
@@ -12,7 +12,6 @@
#include "chrome/browser/prerender/prerender_manager.h"
#include "chrome/browser/prerender/prerender_manager_factory.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/search/instant_overlay.h"
#include "chrome/common/render_messages.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
@@ -128,13 +127,6 @@ void HistoryTabHelper::DidNavigateAnyFrame(
}
}
- InstantOverlay* instant_overlay =
- InstantOverlay::FromWebContents(web_contents());
- if (instant_overlay) {
- instant_overlay->DidNavigate(add_page_args);
- return;
- }
-
#if !defined(OS_ANDROID)
// Don't update history if this web contents isn't associatd with a tab.
Browser* browser = chrome::FindBrowserWithWebContents(web_contents());