Index: chrome/browser/policy/javascript_policy_handler_unittest.cc |
diff --git a/chrome/browser/policy/javascript_policy_handler_unittest.cc b/chrome/browser/policy/javascript_policy_handler_unittest.cc |
index 1e7564a406c5450f238967acacce3c15b873e698..fe8578969a70ba6c2f4c623033b81ba88daf21f2 100644 |
--- a/chrome/browser/policy/javascript_policy_handler_unittest.cc |
+++ b/chrome/browser/policy/javascript_policy_handler_unittest.cc |
@@ -27,14 +27,14 @@ TEST_F(JavascriptPolicyHandlerTest, JavascriptEnabled) { |
policy.Set(key::kJavascriptEnabled, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- base::Value::CreateBooleanValue(true), |
+ new base::FundamentalValue(true), |
NULL); |
UpdateProviderPolicy(policy); |
EXPECT_FALSE(store_->GetValue(prefs::kManagedDefaultJavaScriptSetting, NULL)); |
policy.Set(key::kJavascriptEnabled, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- base::Value::CreateBooleanValue(false), |
+ new base::FundamentalValue(false), |
NULL); |
UpdateProviderPolicy(policy); |
const base::Value* value = NULL; |
@@ -49,7 +49,7 @@ TEST_F(JavascriptPolicyHandlerTest, JavascriptEnabledOverridden) { |
policy.Set(key::kJavascriptEnabled, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
- base::Value::CreateBooleanValue(false), |
+ new base::FundamentalValue(false), |
NULL); |
UpdateProviderPolicy(policy); |
const base::Value* value = NULL; |