| Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| index 3af956229def3b91ef828cc303cf3f21c40cda11..e49aabcea7ecbcbeb98ebaa2b2ba0b78cea7c4b4 100644
|
| --- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| +++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
| @@ -1426,7 +1426,7 @@ void PrintPreviewHandler::StartPrivetLocalPrint(const std::string& print_ticket,
|
|
|
| privet_local_print_operation_->SetJobname(base::UTF16ToUTF8(title));
|
| privet_local_print_operation_->SetPageSize(page_size);
|
| - privet_local_print_operation_->SetData(data);
|
| + privet_local_print_operation_->SetData(data.get());
|
|
|
| Profile* profile = Profile::FromWebUI(web_ui());
|
| SigninManagerBase* signin_manager =
|
| @@ -1504,7 +1504,7 @@ bool PrintPreviewHandler::CreatePrivetHTTP(
|
|
|
| privet_http_factory_ =
|
| local_discovery::PrivetHTTPAsynchronousFactory::CreateInstance(
|
| - service_discovery_client_,
|
| + service_discovery_client_.get(),
|
| Profile::FromWebUI(web_ui())->GetRequestContext());
|
| privet_http_resolution_ = privet_http_factory_->CreatePrivetHTTP(
|
| name, device_description->address, callback);
|
|
|