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

Unified Diff: tools/gn/command_desc.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 | « third_party/libaddressinput/chromium/json.cc ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_desc.cc
diff --git a/tools/gn/command_desc.cc b/tools/gn/command_desc.cc
index 9f7f903c986d2edb3ccb307a11b817d1f0f0aa98..1de9fbb12da098508eb2898209a7f4f4882e3855 100644
--- a/tools/gn/command_desc.cc
+++ b/tools/gn/command_desc.cc
@@ -56,7 +56,7 @@ void PrintValue(const base::Value* value, int indentLevel) {
PrintValue(&iter.value(), indentLevel + 1);
iter.Advance();
}
- } else if (value->IsType(base::Value::TYPE_NULL)) {
+ } else if (value->IsType(base::Value::Type::NONE)) {
OutputString(indent + "<null>\n");
}
}
« no previous file with comments | « third_party/libaddressinput/chromium/json.cc ('k') | tools/ipc_fuzzer/fuzzer/fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698