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

Unified Diff: content/renderer/java/gin_java_bridge_value_converter_unittest.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
Index: content/renderer/java/gin_java_bridge_value_converter_unittest.cc
diff --git a/content/renderer/java/gin_java_bridge_value_converter_unittest.cc b/content/renderer/java/gin_java_bridge_value_converter_unittest.cc
index e766c0752081c5e6b849fa9bdad39da42604923b..642d1d7718f4090970c2d7373fc1a3f383115941 100644
--- a/content/renderer/java/gin_java_bridge_value_converter_unittest.cc
+++ b/content/renderer/java/gin_java_bridge_value_converter_unittest.cc
@@ -128,7 +128,8 @@ TEST_F(GinJavaBridgeValueConverterTest, TypedArrays) {
std::unique_ptr<base::Value> list_value(
converter->FromV8Value(v8_typed_array, context));
ASSERT_TRUE(list_value.get()) << typed_array_type;
- EXPECT_TRUE(list_value->IsType(base::Value::TYPE_LIST)) << typed_array_type;
+ EXPECT_TRUE(list_value->IsType(base::Value::Type::LIST))
+ << typed_array_type;
base::ListValue* list;
ASSERT_TRUE(list_value->GetAsList(&list)) << typed_array_type;
EXPECT_EQ(1u, list->GetSize()) << typed_array_type;
« no previous file with comments | « content/public/child/v8_value_converter.h ('k') | content/renderer/java/gin_java_function_invocation_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698