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

Unified Diff: chrome/service/cloud_print/cdd_conversion_win.cc

Issue 1899083002: Convert //chrome from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 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
« no previous file with comments | « chrome/service/cloud_print/cdd_conversion_win.h ('k') | chrome/service/cloud_print/cloud_print_auth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cdd_conversion_win.cc
diff --git a/chrome/service/cloud_print/cdd_conversion_win.cc b/chrome/service/cloud_print/cdd_conversion_win.cc
index 2aad275fca25ad06ee3d1bec95908979a5ee9d12..3b055e65856342b13eeb03348655a7b5fc51d2bf 100644
--- a/chrome/service/cloud_print/cdd_conversion_win.cc
+++ b/chrome/service/cloud_print/cdd_conversion_win.cc
@@ -18,10 +18,10 @@ bool IsValidCjt(const std::string& print_ticket_data) {
return description.InitFromString(print_ticket_data);
}
-scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
+std::unique_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
const base::string16& printer_name,
const std::string& print_ticket) {
- scoped_ptr<DEVMODE, base::FreeDeleter> dev_mode;
+ std::unique_ptr<DEVMODE, base::FreeDeleter> dev_mode;
cloud_devices::CloudDeviceDescription description;
if (!description.InitFromString(print_ticket))
« no previous file with comments | « chrome/service/cloud_print/cdd_conversion_win.h ('k') | chrome/service/cloud_print/cloud_print_auth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698