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

Unified Diff: components/metrics/stability_metrics_helper_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/stability_metrics_helper_unittest.cc
diff --git a/components/metrics/stability_metrics_helper_unittest.cc b/components/metrics/stability_metrics_helper_unittest.cc
index 6ca84df0f28d06be0a01f052b100c95c26eeb242..d5aa9291a0cc9e588c4c5dbd7ce1706597501ce3 100644
--- a/components/metrics/stability_metrics_helper_unittest.cc
+++ b/components/metrics/stability_metrics_helper_unittest.cc
@@ -24,7 +24,7 @@ class StabilityMetricsHelperTest : public testing::Test {
TestingPrefServiceSimple* prefs() { return prefs_.get(); }
private:
- scoped_ptr<TestingPrefServiceSimple> prefs_;
+ std::unique_ptr<TestingPrefServiceSimple> prefs_;
DISALLOW_COPY_AND_ASSIGN(StabilityMetricsHelperTest);
};
« no previous file with comments | « components/metrics/serialization/serialization_utils_unittest.cc ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698