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

Unified Diff: cc/layers/layer_impl.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 | « base/values_unittest.cc ('k') | chrome/browser/apps/drive/drive_app_mapping.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.cc
diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
index be233f65d512fd6ebe4e958db2c06235e3400dd5..0c34b95a980e87d9be95a1ffc05dda7353847add 100644
--- a/cc/layers/layer_impl.cc
+++ b/cc/layers/layer_impl.cc
@@ -968,7 +968,7 @@ void LayerImpl::AsValueInto(base::trace_event::TracedValue* state) const {
base::JSONReader json_reader;
std::unique_ptr<base::Value> debug_info_value(json_reader.ReadToValue(str));
- if (debug_info_value->IsType(base::Value::TYPE_DICTIONARY)) {
+ if (debug_info_value->IsType(base::Value::Type::DICTIONARY)) {
base::DictionaryValue* dictionary_value = nullptr;
bool converted_to_dictionary =
debug_info_value->GetAsDictionary(&dictionary_value);
« no previous file with comments | « base/values_unittest.cc ('k') | chrome/browser/apps/drive/drive_app_mapping.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698