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

Unified Diff: components/search/search_unittest.cc

Issue 1921923002: Convert //components/[o-t]* 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
« no previous file with comments | « components/search/search_android_unittest.cc ('k') | components/security_interstitials/core/bad_clock_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search/search_unittest.cc
diff --git a/components/search/search_unittest.cc b/components/search/search_unittest.cc
index e8cf6c090d0c943e8b63697881d08666312ae623..622ecd54c00168c2180f0625be9a5bee6244d708 100644
--- a/components/search/search_unittest.cc
+++ b/components/search/search_unittest.cc
@@ -4,7 +4,8 @@
#include "components/search/search.h"
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/metrics/field_trial.h"
#include "base/metrics/statistics_recorder.h"
#include "build/build_config.h"
@@ -22,7 +23,7 @@ class EmbeddedSearchFieldTrialTest : public testing::Test {
}
private:
- scoped_ptr<base::FieldTrialList> field_trial_list_;
+ std::unique_ptr<base::FieldTrialList> field_trial_list_;
};
TEST_F(EmbeddedSearchFieldTrialTest, GetFieldTrialInfoEmptyAndValid) {
« no previous file with comments | « components/search/search_android_unittest.cc ('k') | components/security_interstitials/core/bad_clock_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698