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

Unified Diff: components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc

Issue 2257793002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc
diff --git a/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc b/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc
index 79e3165f4fcb88ebf0fdb70e2ab1ab73eb223af8..c51cbf9aa08d5cc2054c1603273238bfd730f140 100644
--- a/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc
+++ b/components/subresource_filter/content/browser/subresource_filter_navigation_throttle_unittests.cc
@@ -71,7 +71,7 @@ class SubresourceFilterNavigationThrottleTest
void SetUp() override {
RenderViewHostTestHarness::SetUp();
ContentSubresourceFilterDriverFactory::CreateForWebContents(
- web_contents(), base::WrapUnique(new MockSubresourceFilterClient()));
+ web_contents(), base::MakeUnique<MockSubresourceFilterClient>());
driver_ = new MockSubresourceFilterDriver(main_rfh());
factory()->SetDriverForFrameHostForTesting(main_rfh(),

Powered by Google App Engine
This is Rietveld 408576698