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

Unified Diff: chrome/browser/policy/policy_browsertest.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: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index d89f7882d3753518d0b1a35df05748c7d4f305f0..5d9eaa9c5aa8961b0d104411a5d883843f52c928 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -468,7 +468,7 @@ bool IsJavascriptEnabled(content::WebContents* contents) {
content::ExecuteScriptAndGetValue(contents->GetMainFrame(), "123");
int result = 0;
if (!value->GetAsInteger(&result))
- EXPECT_EQ(base::Value::TYPE_NULL, value->GetType());
+ EXPECT_EQ(base::Value::Type::NONE, value->GetType());
return result == 123;
}

Powered by Google App Engine
This is Rietveld 408576698