| Index: chrome/service/cloud_print/print_system_win.cc
|
| diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
|
| index 3d787e0360e64b7e0a0e9b4159ccbdaf3c7a2dd3..16f3f8ccce66d5f215a03fdf4976a15ee997ad41 100644
|
| --- a/chrome/service/cloud_print/print_system_win.cc
|
| +++ b/chrome/service/cloud_print/print_system_win.cc
|
| @@ -430,7 +430,8 @@ class PrintSystemWin : public PrintSystem {
|
| hr = E_FAIL;
|
| DOCINFO di = {0};
|
| di.cbSize = sizeof(DOCINFO);
|
| - std::wstring doc_name = UTF8ToWide(job_title);
|
| + std::string doc_name =
|
| + printing::SimplifyDocumentTitle(UTF8ToWide(job_title));
|
| di.lpszDocName = doc_name.c_str();
|
| job_id_ = StartDoc(dc, &di);
|
| if (job_id_ <= 0)
|
|
|