Index: components/subresource_filter/core/browser/ruleset_service_unittest.cc |
diff --git a/components/subresource_filter/core/browser/ruleset_service_unittest.cc b/components/subresource_filter/core/browser/ruleset_service_unittest.cc |
index bd44816a46dd5f3c50c1d492a879a27a35a79dd4..272ac1564a48404b193f0f0ce2a332312b00666f 100644 |
--- a/components/subresource_filter/core/browser/ruleset_service_unittest.cc |
+++ b/components/subresource_filter/core/browser/ruleset_service_unittest.cc |
@@ -151,8 +151,8 @@ class SubresourceFilteringRulesetServiceTest : public ::testing::Test { |
} |
std::unique_ptr<RulesetService> CreateRulesetService() { |
- return base::WrapUnique( |
- new RulesetService(&pref_service_, task_runner_, base_dir())); |
+ return base::MakeUnique<RulesetService>(&pref_service_, task_runner_, |
+ base_dir()); |
} |
void ResetService(std::unique_ptr<RulesetService> new_service = nullptr) { |