summaryrefslogtreecommitdiffstats
path: root/chrome/browser/toolbar_model.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 20:24:48 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-26 20:24:48 +0000
commited3456f80512a28e4e0d9b8e931a1813db33a880 (patch)
tree2fa1f5b14d4f3a10abc1796c00ea8d1ea26ee391 /chrome/browser/toolbar_model.cc
parentb1d14feefc21f9412286b1ffcf20f18cdbb45007 (diff)
downloadchromium_src-ed3456f80512a28e4e0d9b8e931a1813db33a880.zip
chromium_src-ed3456f80512a28e4e0d9b8e931a1813db33a880.tar.gz
chromium_src-ed3456f80512a28e4e0d9b8e931a1813db33a880.tar.bz2
Back out r10487 too
Review URL: http://codereview.chromium.org/28209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10506 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 14b99e1..08dc00b 100644
--- a/chrome/browser/toolbar_model.cc
+++ b/chrome/browser/toolbar_model.cc
@@ -12,7 +12,6 @@
#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"
@@ -31,7 +30,8 @@ ToolbarModel::~ToolbarModel() {
// ToolbarModel Implementation.
std::wstring ToolbarModel::GetText() {
- GURL url(chrome::kAboutBlankURL);
+ static const GURL kAboutBlankURL("about:blank");
+ GURL url(kAboutBlankURL);
std::wstring languages; // Empty if we don't have a |navigation_controller|.
NavigationController* navigation_controller = GetNavigationController();