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

Unified Diff: chrome/browser/ui/webui/settings/certificates_handler.cc

Issue 2539363004: Make base::Value::TYPE a scoped enum. (Closed)
Patch Set: Rebase Created 4 years 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: 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 516d47630b9aa5b262e39f2374eac4171c465e97..16503d8298843d7fd420681c32bccee5eea0b62f 100644
--- a/chrome/browser/ui/webui/settings/certificates_handler.cc
+++ b/chrome/browser/ui/webui/settings/certificates_handler.cc
@@ -89,8 +89,8 @@ struct DictionaryIdComparator {
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);
+ 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);
DCHECK(a_is_dictionary);

Powered by Google App Engine
This is Rietveld 408576698