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

Unified Diff: tools/json_schema_compiler/test/idl_schemas_unittest.cc

Issue 1853573002: [Extensions] Remove 'use_movable_types' from code generation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: tools/json_schema_compiler/test/idl_schemas_unittest.cc
diff --git a/tools/json_schema_compiler/test/idl_schemas_unittest.cc b/tools/json_schema_compiler/test/idl_schemas_unittest.cc
index 1817afb50db1e47cf86156be2ecd266150525cc9..4c5ff1a098825d9d3523ab313dfbf3b6ac433098 100644
--- a/tools/json_schema_compiler/test/idl_schemas_unittest.cc
+++ b/tools/json_schema_compiler/test/idl_schemas_unittest.cc
@@ -157,10 +157,10 @@ TEST(IdlCompiler, ArrayTypes) {
scoped_ptr<Function11::Params> f11_params = Function11::Params::Create(list);
ASSERT_TRUE(f11_params != NULL);
ASSERT_EQ(2u, f11_params->arg.size());
- EXPECT_EQ(5, f11_params->arg[0]->x);
- EXPECT_EQ("foo", f11_params->arg[0]->y);
- EXPECT_EQ(6, f11_params->arg[1]->x);
- EXPECT_EQ("bar", f11_params->arg[1]->y);
+ EXPECT_EQ(5, f11_params->arg[0].x);
+ EXPECT_EQ("foo", f11_params->arg[0].y);
+ EXPECT_EQ(6, f11_params->arg[1].x);
+ EXPECT_EQ("bar", f11_params->arg[1].y);
}
TEST(IdlCompiler, ObjectTypes) {

Powered by Google App Engine
This is Rietveld 408576698