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

Unified Diff: sandbox/win/src/address_sanitizer_test.cc

Issue 1849323003: Convert //sandbox to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixup nonsfi_sandbox_unittest.cc Created 4 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
« no previous file with comments | « sandbox/win/src/acl.cc ('k') | sandbox/win/src/app_container.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/address_sanitizer_test.cc
diff --git a/sandbox/win/src/address_sanitizer_test.cc b/sandbox/win/src/address_sanitizer_test.cc
index db39d6b90ab6e1e9ebaa70eae2d042e52e64cf66..d7e5e46c0afc13ce7205f9c943c6031113d2b730 100644
--- a/sandbox/win/src/address_sanitizer_test.cc
+++ b/sandbox/win/src/address_sanitizer_test.cc
@@ -4,6 +4,8 @@
#include <stdio.h>
+#include <memory>
+
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
@@ -32,7 +34,7 @@ class AddressSanitizerTests : public ::testing::Test {
}
protected:
- scoped_ptr<base::Environment> env_;
+ std::unique_ptr<base::Environment> env_;
bool had_asan_options_;
std::string old_asan_options_;
};
« no previous file with comments | « sandbox/win/src/acl.cc ('k') | sandbox/win/src/app_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698