Index: components/update_client/update_checker_unittest.cc |
diff --git a/components/update_client/update_checker_unittest.cc b/components/update_client/update_checker_unittest.cc |
index 81106a0b517f14424ce8ac71def67d39f0cdb928..4a02de18f78805844ca40fbd398cc53ece799e49 100644 |
--- a/components/update_client/update_checker_unittest.cc |
+++ b/components/update_client/update_checker_unittest.cc |
@@ -99,9 +99,9 @@ UpdateCheckerTest::~UpdateCheckerTest() { |
} |
void UpdateCheckerTest::SetUp() { |
+ pref_ = base::MakeUnique<TestingPrefServiceSimple>(); |
config_ = base::MakeShared<TestConfigurator>( |
base::ThreadTaskRunnerHandle::Get(), base::ThreadTaskRunnerHandle::Get()); |
- pref_ = base::MakeUnique<TestingPrefServiceSimple>(); |
PersistedData::RegisterPrefs(pref_->registry()); |
metadata_ = base::MakeUnique<PersistedData>(pref_.get()); |
interceptor_factory_ = |