Index: chrome/browser/web_applications/web_app.cc |
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc |
index cbae635dbf27a5fb547c30d9c321f64089e2b172..30b4011ebe58977a3dae2321bbf4dfeeb3b028f3 100644 |
--- a/chrome/browser/web_applications/web_app.cc |
+++ b/chrome/browser/web_applications/web_app.cc |
@@ -330,11 +330,7 @@ bool CreateShortcutTask::CreateShortcut() { |
CommandLine cmd_line = |
ShellIntegration::CommandLineArgsForLauncher(shortcut_info_.url, |
shortcut_info_.extension_id); |
- // TODO(evan): we rely on the fact that command_line_string() is |
- // properly quoted for a Windows command line. The method on |
- // CommandLine should probably be renamed to better reflect that |
- // fact. |
Evan Martin
2011/07/15 21:05:16
This TODO still exists, then.
msw
2011/07/18 20:59:33
Done.
|
- std::wstring wide_switches(cmd_line.command_line_string()); |
+ std::wstring wide_switches(cmd_line.GetCommandLineString()); |
// Sanitize description |
if (shortcut_info_.description.length() >= MAX_PATH) |