summaryrefslogtreecommitdiffstats
path: root/chrome/browser/toolbar_model.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 18:39:24 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 18:39:24 +0000
commit3f8cb62b2416b1365407eaaf935664509ebcef5c (patch)
tree4293fcd06e7de652e09967d7b9479135704886e9 /chrome/browser/toolbar_model.cc
parent8793b4d15e6af6b41cc5a3f819c219cfb65b1e73 (diff)
downloadchromium_src-3f8cb62b2416b1365407eaaf935664509ebcef5c.zip
chromium_src-3f8cb62b2416b1365407eaaf935664509ebcef5c.tar.gz
chromium_src-3f8cb62b2416b1365407eaaf935664509ebcef5c.tar.bz2
More URL constants replacement.
Review URL: http://codereview.chromium.org/28170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10487 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/toolbar_model.cc')
-rw-r--r--chrome/browser/toolbar_model.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/toolbar_model.cc b/chrome/browser/toolbar_model.cc
index 08dc00b..14b99e1 100644
--- a/chrome/browser/toolbar_model.cc
+++ b/chrome/browser/toolbar_model.cc
@@ -12,6 +12,7 @@
#include "chrome/common/l10n_util.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
+#include "chrome/common/url_constants.h"
#include "grit/generated_resources.h"
#include "net/base/net_util.h"
@@ -30,8 +31,7 @@ ToolbarModel::~ToolbarModel() {
// ToolbarModel Implementation.
std::wstring ToolbarModel::GetText() {
- static const GURL kAboutBlankURL("about:blank");
- GURL url(kAboutBlankURL);
+ GURL url(chrome::kAboutBlankURL);
std::wstring languages; // Empty if we don't have a |navigation_controller|.
NavigationController* navigation_controller = GetNavigationController();