| 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..7cdf06f449495128fb922d223bd01e0b35807cd4 100644
|
| --- a/chrome/service/cloud_print/print_system_win.cc
|
| +++ b/chrome/service/cloud_print/print_system_win.cc
|
| @@ -430,7 +430,9 @@ class PrintSystemWin : public PrintSystem {
|
| hr = E_FAIL;
|
| DOCINFO di = {0};
|
| di.cbSize = sizeof(DOCINFO);
|
| - std::wstring doc_name = UTF8ToWide(job_title);
|
| + string16 doc_name = UTF8ToUTF16(job_title);
|
| + DCHECK(printing::PrintBackend::SimplifyDocumentTitle(doc_name) ==
|
| + doc_name);
|
| di.lpszDocName = doc_name.c_str();
|
| job_id_ = StartDoc(dc, &di);
|
| if (job_id_ <= 0)
|
|
|