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

Unified Diff: chrome/browser/extensions/permissions_based_management_policy_provider_unittest.cc

Issue 2777063003: Stop passing raw pointers to base::Value API in c/b/chromeos and c/b/extensions (Closed)
Patch Set: Just rebased Created 3 years, 8 months 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/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(

Powered by Google App Engine
This is Rietveld 408576698