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 |