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

Unified Diff: chrome/browser/chromeos/options/cert_library.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: chrome/browser/chromeos/options/cert_library.cc
diff --git a/chrome/browser/chromeos/options/cert_library.cc b/chrome/browser/chromeos/options/cert_library.cc
index 403fd5de80b856fc8a98650b4c3944c060f1efdf..241debb4a3a9b458c68252626449f0e257bbaf10 100644
--- a/chrome/browser/chromeos/options/cert_library.cc
+++ b/chrome/browser/chromeos/options/cert_library.cc
@@ -234,7 +234,7 @@ void CertLibrary::OnCertificatesLoaded(const net::CertificateList& cert_list,
// Perform locale-sensitive sorting by certificate name.
UErrorCode error = U_ZERO_ERROR;
- scoped_ptr<icu::Collator> collator(icu::Collator::createInstance(
+ std::unique_ptr<icu::Collator> collator(icu::Collator::createInstance(
icu::Locale(g_browser_process->GetApplicationLocale().c_str()), error));
if (U_FAILURE(error))
collator.reset();
« no previous file with comments | « chrome/browser/chromeos/net/wake_on_wifi_manager.cc ('k') | chrome/browser/chromeos/options/network_property_ui_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698