| Index: cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
|
| diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
|
| index a04ac04c97da59d7bba8fd95a1eb1786ce7c10cf..e52e3325d8a53be828facad106af2707aea51761 100644
|
| --- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
|
| +++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
|
| @@ -268,15 +268,16 @@ bool LaunchPrintCommandFromTemplate(const base::string16& command_template,
|
| const base::string16& job_title) {
|
| base::string16 command_string(command_template);
|
| // Substitude the place holder with the document path wrapped in quotes.
|
| - ReplaceFirstSubstringAfterOffset(
|
| + base::ReplaceFirstSubstringAfterOffset(
|
| &command_string, 0, kDocumentPathPlaceHolder,
|
| EscapeCommandLineArg(xps_path.value()));
|
| // Substitude the place holder with the document type wrapped in quotes.
|
| - ReplaceFirstSubstringAfterOffset(&command_string, 0, kDocumentTypePlaceHolder,
|
| - kXpsMimeType);
|
| + base::ReplaceFirstSubstringAfterOffset(
|
| + &command_string, 0, kDocumentTypePlaceHolder, kXpsMimeType);
|
| // Substitude the place holder with the job title wrapped in quotes.
|
| - ReplaceFirstSubstringAfterOffset(&command_string, 0, kJobTitlePlaceHolder,
|
| - EscapeCommandLineArg(job_title));
|
| + base::ReplaceFirstSubstringAfterOffset(
|
| + &command_string, 0, kJobTitlePlaceHolder,
|
| + EscapeCommandLineArg(job_title));
|
|
|
| base::CommandLine command = base::CommandLine::FromString(command_string);
|
|
|
|
|