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

Unified Diff: chrome/browser/sessions/session_restore.cc

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 years, 4 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/sessions/session_restore.cc
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index b1a74985e5cce915ac067426f56f54458a335a53..aca211c8d7bfe979dff23c9fc44f7a8ff4296d36 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -780,7 +780,7 @@ void SessionRestore::RestoreSessionAfterCrash(Browser* browser) {
const content::WebContents* active_tab =
browser->tab_strip_model()->GetWebContentsAt(0);
if (active_tab->GetURL() == GURL(chrome::kChromeUINewTabURL) ||
- chrome::IsInstantNTP(active_tab)) {
+ search::IsInstantNTP(active_tab)) {
// There is only one tab and its the new tab page, make session restore
// clobber it.
behavior = SessionRestore::CLOBBER_CURRENT_TAB;
« no previous file with comments | « chrome/browser/search_engines/ui_thread_search_terms_data.cc ('k') | chrome/browser/thumbnails/thumbnail_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698