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

Unified Diff: chrome/browser/ui/toolbar/toolbar_model_impl.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/ui/toolbar/toolbar_model_impl.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.cc b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
index 0ae928bcdeb17db8dddfd80cd35e5c67a8f0a4a2..56433f6fa3d1f6c6f85205137211d12113b43a81 100644
--- a/chrome/browser/ui/toolbar/toolbar_model_impl.cc
+++ b/chrome/browser/ui/toolbar/toolbar_model_impl.cc
@@ -114,6 +114,9 @@ bool ToolbarModelImpl::ShouldDisplayURL() const {
return false;
#endif
+ if (entry && entry->GetVirtualURL() == GURL(chrome::kChromeUINewTabURL))
+ return false;
+
return true;
}

Powered by Google App Engine
This is Rietveld 408576698