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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 193092: Replace a bunch of hardcoded URLs with constants from url_constants.h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 26082)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -874,7 +874,7 @@
if (dom_ui)
return dom_ui->focus_location_bar_by_default();
NavigationEntry* entry = controller_.GetActiveEntry();
- if (entry && entry->url() == GURL("about:blank"))
+ if (entry && entry->url() == GURL(chrome::kAboutBlankURL))
return true;
return false;
}
« no previous file with comments | « chrome/browser/renderer_host/test/site_instance_unittest.cc ('k') | chrome/browser/tab_contents/web_contents_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698