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

Unified Diff: shell/filename_util.cc

Issue 1045893004: Remove is_win/OS_WIN checks in shell code (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « shell/domain_socket/net_errors.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/filename_util.cc
diff --git a/shell/filename_util.cc b/shell/filename_util.cc
index c1b901c5a825099119c0c1fd7ef05571b2cb681c..c045a8d3dec2f635437c33e434ae88f9d8797b9a 100644
--- a/shell/filename_util.cc
+++ b/shell/filename_util.cc
@@ -50,10 +50,8 @@ GURL FilePathToFileURL(const base::FilePath& path) {
ReplaceSubstringsAfterOffset(&url_string, 0, FILE_PATH_LITERAL("?"),
FILE_PATH_LITERAL("%3F"));
-#if defined(OS_POSIX)
ReplaceSubstringsAfterOffset(&url_string, 0, FILE_PATH_LITERAL("\\"),
FILE_PATH_LITERAL("%5C"));
-#endif
return GURL(url_string);
}
« no previous file with comments | « shell/domain_socket/net_errors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698