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

Unified Diff: components/safe_browsing_db/remote_database_manager_unittest.cc

Issue 2358723002: Convert FieldTrialList to Accept a std::unique_ptr (Closed)
Patch Set: Change Comment nullptr to null Created 4 years, 3 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/safe_browsing_db/remote_database_manager_unittest.cc
diff --git a/components/safe_browsing_db/remote_database_manager_unittest.cc b/components/safe_browsing_db/remote_database_manager_unittest.cc
index b6e337935bbebf82b16dbc86ed39b6b09a15e223..284b3358c888424cfabf7a369f54fc56110667b3 100644
--- a/components/safe_browsing_db/remote_database_manager_unittest.cc
+++ b/components/safe_browsing_db/remote_database_manager_unittest.cc
@@ -29,7 +29,8 @@ class TestSafeBrowsingApiHandler : public SafeBrowsingApiHandler {
class RemoteDatabaseManagerTest : public testing::Test {
protected:
- RemoteDatabaseManagerTest() : field_trials_(new base::FieldTrialList(NULL)) {}
+ RemoteDatabaseManagerTest()
+ : field_trials_(new base::FieldTrialList(nullptr)) {}
void SetUp() override {
SafeBrowsingApiHandler::SetInstance(&api_handler_);
@@ -41,7 +42,7 @@ class RemoteDatabaseManagerTest : public testing::Test {
// Destroy the existing FieldTrialList before creating a new one to avoid
// a DCHECK.
field_trials_.reset();
- field_trials_.reset(new base::FieldTrialList(NULL));
+ field_trials_.reset(new base::FieldTrialList(nullptr));
variations::testing::ClearAllVariationIDs();
variations::testing::ClearAllVariationParams();
« no previous file with comments | « components/password_manager/core/browser/password_generation_manager_unittest.cc ('k') | components/search/search_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698