diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 00:17:29 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 00:17:29 +0000 |
commit | 2d9748b216a7432d03425152e8889aa26c90b885 (patch) | |
tree | 1161f5c7264322f3325e064784e98eb8d2628328 /chrome/browser/ui/toolbar/toolbar_model_impl.cc | |
parent | b633c1d75b3539ab940eae2a65d2f574f7d5b88c (diff) | |
download | chromium_src-2d9748b216a7432d03425152e8889aa26c90b885.zip chromium_src-2d9748b216a7432d03425152e8889aa26c90b885.tar.gz chromium_src-2d9748b216a7432d03425152e8889aa26c90b885.tar.bz2 |
Cleanup: Move kChromeUIScheme constant into content namespace.
BUG=None
TEST=None, no functional changes
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/149643010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/toolbar/toolbar_model_impl.cc')
-rw-r--r-- | chrome/browser/ui/toolbar/toolbar_model_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.cc b/chrome/browser/ui/toolbar/toolbar_model_impl.cc index 10dee3ef..f0de3dc 100644 --- a/chrome/browser/ui/toolbar/toolbar_model_impl.cc +++ b/chrome/browser/ui/toolbar/toolbar_model_impl.cc @@ -193,9 +193,9 @@ bool ToolbarModelImpl::ShouldDisplayURL() const { GURL url = entry->GetURL(); GURL virtual_url = entry->GetVirtualURL(); - if (url.SchemeIs(chrome::kChromeUIScheme) || - virtual_url.SchemeIs(chrome::kChromeUIScheme)) { - if (!url.SchemeIs(chrome::kChromeUIScheme)) + if (url.SchemeIs(content::kChromeUIScheme) || + virtual_url.SchemeIs(content::kChromeUIScheme)) { + if (!url.SchemeIs(content::kChromeUIScheme)) url = virtual_url; return url.host() != chrome::kChromeUINewTabHost; } |