Index: shell/command_line_util.cc |
diff --git a/shell/command_line_util.cc b/shell/command_line_util.cc |
index 0a307f676303c9632953b77b1c699bd4299cea72..3c6de7def3156db14ffe9fdaed1752bc44d1aaf3 100644 |
--- a/shell/command_line_util.cc |
+++ b/shell/command_line_util.cc |
@@ -73,13 +73,7 @@ void ApplyApplicationArgs(Context* context, const std::string& args) { |
void RunCommandLineApps(Context* context) { |
const auto& command_line = *base::CommandLine::ForCurrentProcess(); |
for (const auto& arg : command_line.GetArgs()) { |
- std::string arg2; |
-#if defined(OS_WIN) |
- arg2 = base::UTF16ToUTF8(arg); |
-#else |
- arg2 = arg; |
-#endif |
- GURL url = GetAppURLAndSetArgs(arg2, context); |
+ GURL url = GetAppURLAndSetArgs(arg, context); |
if (!url.is_valid()) |
return; |
context->Run(url); |