| Index: chrome/browser/ui/webui/settings/certificates_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/certificates_handler.cc b/chrome/browser/ui/webui/settings/certificates_handler.cc
|
| index d80b14b987706f3e31fc202c966e237012594c7c..9930c7b9bc9ca67a79b9efd091f6193807261e89 100644
|
| --- a/chrome/browser/ui/webui/settings/certificates_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/certificates_handler.cc
|
| @@ -85,14 +85,15 @@
|
| explicit DictionaryIdComparator(icu::Collator* collator)
|
| : collator_(collator) {}
|
|
|
| - bool operator()(const base::Value& a, const base::Value& b) const {
|
| - DCHECK(a.GetType() == base::Value::Type::DICTIONARY);
|
| - DCHECK(b.GetType() == base::Value::Type::DICTIONARY);
|
| + bool operator()(const std::unique_ptr<base::Value>& a,
|
| + const std::unique_ptr<base::Value>& b) const {
|
| + DCHECK(a->GetType() == base::Value::Type::DICTIONARY);
|
| + DCHECK(b->GetType() == base::Value::Type::DICTIONARY);
|
| const base::DictionaryValue* a_dict;
|
| - bool a_is_dictionary = a.GetAsDictionary(&a_dict);
|
| + bool a_is_dictionary = a->GetAsDictionary(&a_dict);
|
| DCHECK(a_is_dictionary);
|
| const base::DictionaryValue* b_dict;
|
| - bool b_is_dictionary = b.GetAsDictionary(&b_dict);
|
| + bool b_is_dictionary = b->GetAsDictionary(&b_dict);
|
| DCHECK(b_is_dictionary);
|
| base::string16 a_str;
|
| base::string16 b_str;
|
|
|