Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7025)

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.cc

Issue 505913002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add {} Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698