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

Unified Diff: third_party/WebKit/Source/platform/scheduler/test/renderer_scheduler_test_support.cc

Issue 2256943003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scheduler/test/renderer_scheduler_test_support.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/test/renderer_scheduler_test_support.cc b/third_party/WebKit/Source/platform/scheduler/test/renderer_scheduler_test_support.cc
index 75d6c955e7877e44be68f1d65168d2f5bf96805f..2f77448b17e90093e051580b906cb93f1fc45116 100644
--- a/third_party/WebKit/Source/platform/scheduler/test/renderer_scheduler_test_support.cc
+++ b/third_party/WebKit/Source/platform/scheduler/test/renderer_scheduler_test_support.cc
@@ -11,8 +11,8 @@ namespace blink {
namespace scheduler {
std::unique_ptr<RendererScheduler> CreateRendererSchedulerForTests() {
- return base::WrapUnique(new scheduler::RendererSchedulerImpl(
- scheduler::LazySchedulerMessageLoopDelegateForTests::Create()));
+ return base::MakeUnique<scheduler::RendererSchedulerImpl>(
+ scheduler::LazySchedulerMessageLoopDelegateForTests::Create());
}
void RunIdleTasksForTesting(RendererScheduler* scheduler,
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/test/lazy_scheduler_message_loop_delegate_for_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698