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

Unified Diff: extensions/utility/unpacker.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
« no previous file with comments | « extensions/renderer/send_request_natives.cc ('k') | google_apis/drive/drive_api_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/utility/unpacker.cc
diff --git a/extensions/utility/unpacker.cc b/extensions/utility/unpacker.cc
index 3620f38800b93d96d1041966442f25fc0cb3f681..cec0db865396eb10f0b4a6d5dc1f3143caf53a05 100644
--- a/extensions/utility/unpacker.cc
+++ b/extensions/utility/unpacker.cc
@@ -164,7 +164,7 @@ std::unique_ptr<base::DictionaryValue> Unpacker::ReadManifest(
return nullptr;
}
- if (!root->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (!root->IsType(base::Value::Type::DICTIONARY)) {
*error = errors::kInvalidManifest;
return nullptr;
}
« no previous file with comments | « extensions/renderer/send_request_natives.cc ('k') | google_apis/drive/drive_api_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698