| Index: chrome/common/net/url_fixer_upper.cc
|
| ===================================================================
|
| --- chrome/common/net/url_fixer_upper.cc (revision 276109)
|
| +++ chrome/common/net/url_fixer_upper.cc (working copy)
|
| @@ -429,12 +429,11 @@
|
| }
|
|
|
| // Proceed with about and chrome schemes, but not file or nonstandard schemes.
|
| - if ((scheme != content::kAboutScheme) &&
|
| - (scheme != content::kChromeUIScheme) &&
|
| + if ((scheme != url::kAboutScheme) && (scheme != content::kChromeUIScheme) &&
|
| ((scheme == url::kFileScheme) ||
|
| - !url::IsStandard(scheme.c_str(),
|
| - url::Component(0,
|
| - static_cast<int>(scheme.length()))))) {
|
| + !url::IsStandard(
|
| + scheme.c_str(),
|
| + url::Component(0, static_cast<int>(scheme.length()))))) {
|
| return scheme;
|
| }
|
|
|
| @@ -535,9 +534,9 @@
|
| }
|
|
|
| // Parse and rebuild about: and chrome: URLs, except about:blank.
|
| - bool chrome_url = !LowerCaseEqualsASCII(trimmed, content::kAboutBlankURL) &&
|
| - ((scheme == content::kAboutScheme) ||
|
| - (scheme == content::kChromeUIScheme));
|
| + bool chrome_url =
|
| + !LowerCaseEqualsASCII(trimmed, url::kAboutBlankURL) &&
|
| + ((scheme == url::kAboutScheme) || (scheme == content::kChromeUIScheme));
|
|
|
| // For some schemes whose layouts we understand, we rebuild it.
|
| if (chrome_url ||
|
|
|