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

Unified Diff: third_party/libaddressinput/chromium/chrome_address_validator.cc

Issue 1911823002: Convert //third_party from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update crashpad's README.chromium 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: third_party/libaddressinput/chromium/chrome_address_validator.cc
diff --git a/third_party/libaddressinput/chromium/chrome_address_validator.cc b/third_party/libaddressinput/chromium/chrome_address_validator.cc
index c55ab49ca47e60d75491ed729216f9c3dd1ba988..8e9f0f2374df4e140d94e0553f7b98d18fadc190 100644
--- a/third_party/libaddressinput/chromium/chrome_address_validator.cc
+++ b/third_party/libaddressinput/chromium/chrome_address_validator.cc
@@ -38,11 +38,10 @@ static const int kMaxAttemptsNumber = 8;
} // namespace
-AddressValidator::AddressValidator(scoped_ptr<Source> source,
- scoped_ptr<Storage> storage,
+AddressValidator::AddressValidator(std::unique_ptr<Source> source,
+ std::unique_ptr<Storage> storage,
LoadRulesListener* load_rules_listener)
- : supplier_(new PreloadSupplier(source.release(),
- storage.release())),
+ : supplier_(new PreloadSupplier(source.release(), storage.release())),
input_suggester_(new InputSuggester(supplier_.get())),
normalizer_(new AddressNormalizer(supplier_.get())),
validator_(new ::i18n::addressinput::AddressValidator(supplier_.get())),

Powered by Google App Engine
This is Rietveld 408576698