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

Unified Diff: content/renderer/gpu/actions_parser.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 months 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: content/renderer/gpu/actions_parser.cc
diff --git a/content/renderer/gpu/actions_parser.cc b/content/renderer/gpu/actions_parser.cc
index 650fd439639846ea2a5efb6b4cf41bf2672a0278..127c565f4c0708467e16017e8236b7da55fd7ef5 100644
--- a/content/renderer/gpu/actions_parser.cc
+++ b/content/renderer/gpu/actions_parser.cc
@@ -71,7 +71,7 @@ bool ActionsParser::ParsePointerActionSequence() {
for (const auto& pointer_value : *pointer_list) {
const base::DictionaryValue* pointer_actions;
- if (!pointer_value->GetAsDictionary(&pointer_actions)) {
+ if (!pointer_value.GetAsDictionary(&pointer_actions)) {
error_message_ =
base::StringPrintf("pointer actions is missing or not a dictionary");
return false;
@@ -157,7 +157,7 @@ bool ActionsParser::ParseActions(const base::ListValue& actions) {
SyntheticPointerActionListParams::ParamList param_list;
for (const auto& action_value : actions) {
const base::DictionaryValue* action;
- if (!action_value->GetAsDictionary(&action)) {
+ if (!action_value.GetAsDictionary(&action)) {
error_message_ = base::StringPrintf(
"actions[%d].actions is missing or not a dictionary", action_index_);
return false;

Powered by Google App Engine
This is Rietveld 408576698