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

Unified Diff: headless/public/domains/types_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: headless/public/domains/types_unittest.cc
diff --git a/headless/public/domains/types_unittest.cc b/headless/public/domains/types_unittest.cc
index 860f69ba50b91f317657a72da613a4f6b79ea9f7..db07df1a58d4d2bd65a5ae071bbb0dbe7e3437e3 100644
--- a/headless/public/domains/types_unittest.cc
+++ b/headless/public/domains/types_unittest.cc
@@ -204,11 +204,11 @@ TEST(TypesTest, AnyProperty) {
.SetValue(std::move(value))
.Build());
EXPECT_TRUE(object);
- EXPECT_EQ(base::Value::TYPE_INTEGER, object->GetValue()->GetType());
+ EXPECT_EQ(base::Value::Type::INTEGER, object->GetValue()->GetType());
std::unique_ptr<accessibility::AXValue> clone(object->Clone());
EXPECT_TRUE(clone);
- EXPECT_EQ(base::Value::TYPE_INTEGER, clone->GetValue()->GetType());
+ EXPECT_EQ(base::Value::Type::INTEGER, clone->GetValue()->GetType());
int clone_value;
EXPECT_TRUE(clone->GetValue()->GetAsInteger(&clone_value));
« no previous file with comments | « headless/lib/browser/devtools_api/domain_cc.template ('k') | ios/chrome/browser/find_in_page/js_findinpage_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698