summaryrefslogtreecommitdiffstats
path: root/chrome/browser/url_fixer_upper_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/url_fixer_upper_unittest.cc')
-rw-r--r--chrome/browser/url_fixer_upper_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/url_fixer_upper_unittest.cc b/chrome/browser/url_fixer_upper_unittest.cc
index a885525..713a8f1 100644
--- a/chrome/browser/url_fixer_upper_unittest.cc
+++ b/chrome/browser/url_fixer_upper_unittest.cc
@@ -164,7 +164,7 @@ static bool IsMatchingFileURL(const std::wstring& url,
return false; // contains backslashes
std::wstring derived_path;
- net_util::FileURLToFilePath(GURL(url), &derived_path);
+ net::FileURLToFilePath(GURL(url), &derived_path);
return (derived_path.length() == full_file_path.length()) &&
std::equal(derived_path.begin(), derived_path.end(),
full_file_path.begin(), CaseInsensitiveCompare<wchar_t>());
@@ -249,7 +249,7 @@ TEST(URLFixerUpperTest, FixupFile) {
// reference path
std::wstring golden =
- UTF8ToWide(net_util::FilePathToFileURL(original).spec());
+ UTF8ToWide(net::FilePathToFileURL(original).spec());
// c:\foo\bar.txt -> file:///c:/foo/bar.txt (basic)
std::wstring fixedup = URLFixerUpper::FixupURL(original, L"");