summaryrefslogtreecommitdiffstats
path: root/url/gurl.cc
diff options
context:
space:
mode:
authorsungmann.cho@navercorp.com <sungmann.cho@navercorp.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-18 07:57:49 +0000
committersungmann.cho@navercorp.com <sungmann.cho@navercorp.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-18 07:57:49 +0000
commit08dc705a466d0f2f2cffdf6b36fe8bc651b780f5 (patch)
tree9953afe3dcf82822a990d1c9817dc9d11f52cf18 /url/gurl.cc
parentafbed27bab1a43e40129215aced8983fb5272707 (diff)
downloadchromium_src-08dc705a466d0f2f2cffdf6b36fe8bc651b780f5.zip
chromium_src-08dc705a466d0f2f2cffdf6b36fe8bc651b780f5.tar.gz
chromium_src-08dc705a466d0f2f2cffdf6b36fe8bc651b780f5.tar.bz2
Replace some hard coded schemes with the constants in /url/url_constants.h.
BUG=none TEST=compile Review URL: https://codereview.chromium.org/335353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'url/gurl.cc')
-rw-r--r--url/gurl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/url/gurl.cc b/url/gurl.cc
index 947403e..b7374b1 100644
--- a/url/gurl.cc
+++ b/url/gurl.cc
@@ -137,7 +137,7 @@ void GURL::InitializeFromCanonicalSpec() {
// canonical_spec actually points to the start of the outer URL, so we'd
// end up with infinite recursion in this constructor.
if (!url::FindAndCompareScheme(spec_.data(), spec_.length(),
- "filesystem", &scheme) ||
+ url::kFileSystemScheme, &scheme) ||
scheme.begin == parsed_.scheme.begin) {
// We need to retain trailing whitespace on path URLs, as the |parsed_|
// spec we originally received may legitimately contain trailing white-