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

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

Issue 2816513002: Revert of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « content/browser/webrtc/webrtc_internals_unittest.cc ('k') | content/test/fuzzer/renderer_tree_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/actions_parser.cc
diff --git a/content/renderer/gpu/actions_parser.cc b/content/renderer/gpu/actions_parser.cc
index 127c565f4c0708467e16017e8236b7da55fd7ef5..650fd439639846ea2a5efb6b4cf41bf2672a0278 100644
--- a/content/renderer/gpu/actions_parser.cc
+++ b/content/renderer/gpu/actions_parser.cc
@@ -71,7 +71,7 @@
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 @@
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;
« no previous file with comments | « content/browser/webrtc/webrtc_internals_unittest.cc ('k') | content/test/fuzzer/renderer_tree_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698