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

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

Issue 116363003: [rac] Validate an address. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile. 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 991a6e0b42e7116c8f7a92714fb994bf2423f0bf..e268f86dd3722544f90612b76d3d1a6e6c36e0d8 100644
--- a/third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc
+++ b/third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc
@@ -143,11 +143,11 @@ void CountryRulesAggregator::OnDataReady(bool success,
default_language_ = rule->GetLanguage();
languages_ = rule->GetLanguages();
- root_.reset(new Ruleset(rule.Pass()));
+ root_.reset(new Ruleset(request.level, rule.Pass()));
ruleset = root_.get();
} else {
assert(request.parent != NULL);
- ruleset = new Ruleset(rule.Pass());
+ ruleset = new Ruleset(request.level, rule.Pass());
request.parent->AddSubRegionRuleset(
request.id, scoped_ptr<Ruleset>(ruleset));
}

Powered by Google App Engine
This is Rietveld 408576698