Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / plugins / plugin_info_message_filter_unittest.cc
index 0aea581..3b612dc 100644 (file)
@@ -258,7 +258,7 @@ TEST_F(PluginInfoMessageFilterTest, GetPluginContentSetting) {
   // Block plugins via policy.
   TestingPrefServiceSyncable* prefs = profile()->GetTestingPrefService();
   prefs->SetManagedPref(prefs::kManagedDefaultPluginsSetting,
-                        base::Value::CreateIntegerValue(CONTENT_SETTING_BLOCK));
+                        new base::FundamentalValue(CONTENT_SETTING_BLOCK));
 
   // All plugins should be blocked now.
   VerifyPluginContentSetting(host, "foo", CONTENT_SETTING_BLOCK, true, true);