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

Unified Diff: components/metrics/leak_detector/call_stack_table_unittest.cc

Issue 1906173002: Convert //components/metrics from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: components/metrics/leak_detector/call_stack_table_unittest.cc
diff --git a/components/metrics/leak_detector/call_stack_table_unittest.cc b/components/metrics/leak_detector/call_stack_table_unittest.cc
index 6600ef714aca605900f8e79dc0604f5eafddcaad..f56f628499e34915851a5344a11c89fedf269287 100644
--- a/components/metrics/leak_detector/call_stack_table_unittest.cc
+++ b/components/metrics/leak_detector/call_stack_table_unittest.cc
@@ -4,10 +4,10 @@
#include "components/metrics/leak_detector/call_stack_table.h"
+#include <memory>
#include <set>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/metrics/leak_detector/call_stack_manager.h"
#include "components/metrics/leak_detector/custom_allocator.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -104,7 +104,7 @@ class CallStackTableTest : public ::testing::Test {
const CallStack* stack3_;
private:
- scoped_ptr<CallStackManager> manager_;
+ std::unique_ptr<CallStackManager> manager_;
DISALLOW_COPY_AND_ASSIGN(CallStackTableTest);
};
« no previous file with comments | « components/metrics/leak_detector/call_stack_manager_unittest.cc ('k') | components/metrics/leak_detector/leak_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698