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

Unified Diff: chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.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/api/platform_keys/platform_keys_apitest_nss.cc
diff --git a/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc b/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc
index 2a8a5a44605360b42d039ccfa5375aad7f2fb77a..341df18ff3aab6f20ca217f77208e72eb78bfbe9 100644
--- a/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc
+++ b/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc
@@ -5,6 +5,7 @@
#include <cryptohi.h>
#include <memory>
+#include <utility>
#include "base/json/json_writer.h"
#include "base/macros.h"
@@ -197,7 +198,7 @@ class PlatformKeysTest : public ExtensionApiTest {
cert1_key_permission->SetBooleanWithoutPathExpansion(
"allowCorporateKeyUsage", true);
key_permissions_policy.SetWithoutPathExpansion(
- extension_->id(), cert1_key_permission.release());
+ extension_->id(), std::move(cert1_key_permission));
}
std::string key_permissions_policy_str;

Powered by Google App Engine
This is Rietveld 408576698