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

Unified Diff: blimp/client/feature/compositor/blimp_input_manager.cc

Issue 2250433006: 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: blimp/client/feature/compositor/blimp_input_manager.cc
diff --git a/blimp/client/feature/compositor/blimp_input_manager.cc b/blimp/client/feature/compositor/blimp_input_manager.cc
index 44a367f48255ed4327a2f179c83d193f69efc038..f1d106f2d07defae6347eb75debb7119977dcf94 100644
--- a/blimp/client/feature/compositor/blimp_input_manager.cc
+++ b/blimp/client/feature/compositor/blimp_input_manager.cc
@@ -113,8 +113,8 @@ void BlimpInputManager::CreateInputHandlerWrapperOnCompositorThread(
return;
DCHECK(!input_handler_wrapper_);
- input_handler_wrapper_ = base::WrapUnique(new BlimpInputHandlerWrapper(
- main_task_runner_, input_manager_weak_ptr, input_handler.get()));
+ input_handler_wrapper_ = base::MakeUnique<BlimpInputHandlerWrapper>(
+ main_task_runner_, input_manager_weak_ptr, input_handler.get());
}
void BlimpInputManager::HandleWebGestureEventOnCompositorThread(
« no previous file with comments | « blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698