Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2912)

Unified Diff: chrome/browser/history/history_tab_helper.cc

Issue 11824050: InstantExtended: Committed NTP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_tab_helper.cc
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc
index 7cff0fd0ca24b96e6e0c45c2677c9fad2be4d1f5..df3ac65c3d13c6d0456bb06997a87952ede205a9 100644
--- a/chrome/browser/history/history_tab_helper.cc
+++ b/chrome/browser/history/history_tab_helper.cc
@@ -8,7 +8,7 @@
#include "chrome/browser/history/history.h"
#include "chrome/browser/history/history_service_factory.h"
-#include "chrome/browser/instant/instant_loader.h"
+#include "chrome/browser/instant/instant_overlay.h"
#include "chrome/browser/prerender/prerender_contents.h"
#include "chrome/browser/prerender/prerender_manager.h"
#include "chrome/browser/prerender/prerender_manager_factory.h"
@@ -127,10 +127,10 @@ void HistoryTabHelper::DidNavigateAnyFrame(
}
}
- InstantLoader* instant_loader =
- InstantLoader::FromWebContents(web_contents());
- if (instant_loader) {
- instant_loader->DidNavigate(add_page_args);
+ InstantOverlay* instant_overlay =
+ InstantOverlay::FromWebContents(web_contents());
+ if (instant_overlay) {
+ instant_overlay->DidNavigate(add_page_args);
return;
}

Powered by Google App Engine
This is Rietveld 408576698