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

Unified Diff: chrome/common/cloud_print/cloud_print_helpers.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/common/cloud_print/cloud_print_helpers.cc
diff --git a/chrome/common/cloud_print/cloud_print_helpers.cc b/chrome/common/cloud_print/cloud_print_helpers.cc
index 9a2a00a431fd3b74e51f1dbd55a6ba9affc399f2..09eef8a736996c1b289fd456edb704737c5b2df1 100644
--- a/chrome/common/cloud_print/cloud_print_helpers.cc
+++ b/chrome/common/cloud_print/cloud_print_helpers.cc
@@ -192,7 +192,7 @@ std::unique_ptr<base::DictionaryValue> ParseResponseJSON(
if (!message_value.get())
return std::unique_ptr<base::DictionaryValue>();
- if (!message_value->IsType(base::Value::TYPE_DICTIONARY))
+ if (!message_value->IsType(base::Value::Type::DICTIONARY))
return std::unique_ptr<base::DictionaryValue>();
std::unique_ptr<base::DictionaryValue> response_dict(

Powered by Google App Engine
This is Rietveld 408576698