Index: chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc |
diff --git a/chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc b/chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc |
index 41e308c41f5c98894f014aa14271d9db065a36f2..806d14f0fda983c01083b918129a3e5ad4646da3 100644 |
--- a/chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc |
+++ b/chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc |
@@ -65,11 +65,11 @@ class PermissionsBasedManagementPolicyProviderTest : public testing::Test { |
manifest_dict.SetString(manifest_keys::kVersion, "0.1"); |
if (required_permissions) { |
manifest_dict.Set(manifest_keys::kPermissions, |
- required_permissions->DeepCopy()); |
+ required_permissions->CreateDeepCopy()); |
} |
if (optional_permissions) { |
manifest_dict.Set(manifest_keys::kOptionalPermissions, |
- optional_permissions->DeepCopy()); |
+ optional_permissions->CreateDeepCopy()); |
} |
std::string error; |
scoped_refptr<const Extension> extension = Extension::Create( |