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

Unified Diff: chrome/browser/ui/search/instant_page.cc

Issue 19054012: Reload Local NTP on default search provider change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 7 years, 5 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/ui/search/instant_page.cc
diff --git a/chrome/browser/ui/search/instant_page.cc b/chrome/browser/ui/search/instant_page.cc
index 2a26a78e9a15b6be581e8fec5db850e90967dc54..8d83aa67b84d6b45fab6076d336fdcb19e8fbc67 100644
--- a/chrome/browser/ui/search/instant_page.cc
+++ b/chrome/browser/ui/search/instant_page.cc
@@ -39,8 +39,7 @@ const std::string& InstantPage::instant_url() const {
bool InstantPage::IsLocal() const {
return contents() &&
samarth 2013/07/12 17:16:06 nit: fits on one line?
kmadhusu 2013/07/15 22:21:51 It doesn't fit in the previous line.
- (contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl) ||
- contents()->GetURL() == GURL(chrome::kChromeSearchLocalGoogleNtpUrl));
+ contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl);
}
void InstantPage::InitializeFonts() {

Powered by Google App Engine
This is Rietveld 408576698