Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: net/base/filename_util_internal.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/filename_util.cc ('k') | net/base/host_mapping_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/filename_util_internal.cc
diff --git a/net/base/filename_util_internal.cc b/net/base/filename_util_internal.cc
index 8d7509f3ce6187cc266a2198e91247acd0d3e8b1..8a85544fb3000d9d8fa6dfc11f1491f0c31a6a81 100644
--- a/net/base/filename_util_internal.cc
+++ b/net/base/filename_util_internal.cc
@@ -41,8 +41,10 @@ void SanitizeGeneratedFileName(base::FilePath::StringType* filename,
if (filename->empty())
return;
// Replace any path information by changing path separators.
- ReplaceSubstringsAfterOffset(filename, 0, FILE_PATH_LITERAL("/"), kReplace);
- ReplaceSubstringsAfterOffset(filename, 0, FILE_PATH_LITERAL("\\"), kReplace);
+ base::ReplaceSubstringsAfterOffset(filename, 0, FILE_PATH_LITERAL("/"),
+ kReplace);
+ base::ReplaceSubstringsAfterOffset(filename, 0, FILE_PATH_LITERAL("\\"),
+ kReplace);
}
// Returns the filename determined from the last component of the path portion
« no previous file with comments | « net/base/filename_util.cc ('k') | net/base/host_mapping_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698