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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_browsertest.cc

Issue 17846006: Fix one more instance of scoped_ptr<T>(NULL) on ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/device_local_account_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
index e8f3e1adfbcb7e23783414fc92f3f2368097ba60..ac604d6ae1a49b4c2d6606810326afb0736b0870 100644
--- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
+++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc
@@ -130,13 +130,12 @@ class DeviceLocalAccountTest : public DevicePolicyCrosBrowserTest {
// builders must be dropped as otherwise the NSS library will tell Chrome
// that the key is available - which is incorrect and leads to Chrome
// behaving as if a local owner were logged in.
- device_policy()->set_signing_key(scoped_ptr<crypto::RSAPrivateKey>(NULL));
- device_policy()->set_new_signing_key(
- scoped_ptr<crypto::RSAPrivateKey>(NULL));
+ device_policy()->set_signing_key(scoped_ptr<crypto::RSAPrivateKey>());
+ device_policy()->set_new_signing_key(scoped_ptr<crypto::RSAPrivateKey>());
device_local_account_policy_.set_signing_key(
- scoped_ptr<crypto::RSAPrivateKey>(NULL));
+ scoped_ptr<crypto::RSAPrivateKey>());
device_local_account_policy_.set_new_signing_key(
- scoped_ptr<crypto::RSAPrivateKey>(NULL));
+ scoped_ptr<crypto::RSAPrivateKey>());
}
void InitializePolicy() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698