Chromium Code Reviews| 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 0757da208e0c1dc0b30a81238704912264fe5bd8..db9603ec945af128244bd6b3842041af2bf92614 100644 |
| --- a/chrome/browser/ui/search/instant_page.cc |
| +++ b/chrome/browser/ui/search/instant_page.cc |
| @@ -19,7 +19,8 @@ InstantPage::~InstantPage() { |
| bool InstantPage::IsLocalNTP() const { |
|
samarth
2013/04/16 16:55:10
How about renaming to just IsLocal? (or IsLocalPa
jeremycho
2013/04/16 20:39:09
Done.
|
| return contents() && |
| - contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl); |
| + (contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl) || |
| + contents()->GetURL() == GURL(chrome::kChromeSearchLocalGoogleNtpUrl)); |
| } |
| bool InstantPage::IsLocalOverlay() const { |
|
samarth
2013/04/16 16:55:10
You can delete this method.
jeremycho
2013/04/16 20:39:09
Done.
|