21 lines
785 B
Diff
21 lines
785 B
Diff
commit a53d9cf12fb835938c2d2ad641633126a07bf636
|
|
Author: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Sun Nov 26 11:40:05 2017 +0100
|
|
|
|
Restore classic new tab page
|
|
|
|
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
|
|
index b756cb0..5785c581 100644
|
|
--- a/chrome/browser/search/search.cc
|
|
+++ b/chrome/browser/search/search.cc
|
|
@@ -171,9 +171,6 @@ struct NewTabURLDetails {
|
|
|
|
NewTabURLState state = IsValidNewTabURL(profile, search_provider_url);
|
|
switch (state) {
|
|
- case NEW_TAB_URL_VALID:
|
|
- // We can use the search provider's page.
|
|
- return NewTabURLDetails(search_provider_url, state);
|
|
case NEW_TAB_URL_INCOGNITO:
|
|
// Incognito has its own New Tab.
|
|
return NewTabURLDetails(GURL(), state);
|