Index: components/url_matcher/url_matcher_factory.cc |
diff --git a/components/url_matcher/url_matcher_factory.cc b/components/url_matcher/url_matcher_factory.cc |
index 848e5d469396040fed208f4664e97ca3ada2edd7..5793f68e82f04cf57276b4ab0d2038392f65185e 100644 |
--- a/components/url_matcher/url_matcher_factory.cc |
+++ b/components/url_matcher/url_matcher_factory.cc |
@@ -234,7 +234,7 @@ URLMatcherFactory::CreateURLMatcherScheme(const base::Value* value, |
return nullptr; |
} |
} |
- return base::WrapUnique(new URLMatcherSchemeFilter(schemas)); |
+ return base::MakeUnique<URLMatcherSchemeFilter>(schemas); |
} |
// static |
@@ -268,7 +268,7 @@ std::unique_ptr<URLMatcherPortFilter> URLMatcherFactory::CreateURLMatcherPorts( |
} |
} |
- return base::WrapUnique(new URLMatcherPortFilter(ranges)); |
+ return base::MakeUnique<URLMatcherPortFilter>(ranges); |
} |
} // namespace url_matcher |