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

Unified Diff: third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc

Issue 145553009: rAc: use libaddressinput to validate international addresses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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/cpp/src/country_rules_aggregator.cc
diff --git a/third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc b/third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc
index 8135b3be2d7fb463f19b47fe1f38f0b74b500543..bb32cd353806b0f553f3a5ff19c802dcb498aecb 100644
--- a/third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc
+++ b/third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc
@@ -48,7 +48,7 @@ void CountryRulesAggregator::AggregateRules(const std::string& country_code,
scoped_ptr<Callback> rules_ready) {
Reset();
country_code_ = country_code;
- rules_ready_.reset(rules_ready.release());
+ rules_ready_ = rules_ready.Pass();
// Key construction:
// https://code.google.com/p/libaddressinput/wiki/AddressValidationMetadata

Powered by Google App Engine
This is Rietveld 408576698