Index: chrome/browser/ui/webui/options/options_ui.cc |
diff --git a/chrome/browser/ui/webui/options/options_ui.cc b/chrome/browser/ui/webui/options/options_ui.cc |
index b8eb57755361ff75323bb70f3d617d8175924aee..538bf41c3dbc22b7d5a90661e1e872009da4c227 100644 |
--- a/chrome/browser/ui/webui/options/options_ui.cc |
+++ b/chrome/browser/ui/webui/options/options_ui.cc |
@@ -300,10 +300,11 @@ void OptionsUI::RenderViewCreated(RenderViewHost* render_view_host) { |
std::string command_line_string; |
#if defined(OS_WIN) |
- std::wstring wstr = CommandLine::ForCurrentProcess()->command_line_string(); |
+ std::wstring wstr = CommandLine::ForCurrentProcess()->GetCommandLineString(); |
command_line_string = WideToASCII(wstr); |
#else |
- command_line_string = CommandLine::ForCurrentProcess()->command_line_string(); |
+ command_line_string = |
+ CommandLine::ForCurrentProcess()->GetCommandLineString(); |
#endif |
render_view_host->SetWebUIProperty("commandLineString", command_line_string); |