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

Unified Diff: remoting/host/mouse_cursor_monitor_proxy_unittest.cc

Issue 2253233004: 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
« no previous file with comments | « remoting/host/ipc_desktop_environment.cc ('k') | remoting/host/pairing_registry_delegate_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/mouse_cursor_monitor_proxy_unittest.cc
diff --git a/remoting/host/mouse_cursor_monitor_proxy_unittest.cc b/remoting/host/mouse_cursor_monitor_proxy_unittest.cc
index fee618da9fb02a984327967dcde5f2f1fbcb16f9..de88977d3ec05aa24082b9e97353025f4c8fa2a8 100644
--- a/remoting/host/mouse_cursor_monitor_proxy_unittest.cc
+++ b/remoting/host/mouse_cursor_monitor_proxy_unittest.cc
@@ -124,8 +124,9 @@ TEST_F(MouseCursorMonitorProxyTest, CursorShape) {
proxy_.reset(new MouseCursorMonitorProxy(
capture_thread_.task_runner(),
webrtc::DesktopCaptureOptions::CreateDefault()));
- proxy_->SetMouseCursorMonitorForTests(base::WrapUnique(
- new ThreadCheckMouseCursorMonitor(capture_thread_.task_runner())));
+ proxy_->SetMouseCursorMonitorForTests(
+ base::MakeUnique<ThreadCheckMouseCursorMonitor>(
+ capture_thread_.task_runner()));
proxy_->Init(this, webrtc::MouseCursorMonitor::SHAPE_ONLY);
proxy_->Capture();
« no previous file with comments | « remoting/host/ipc_desktop_environment.cc ('k') | remoting/host/pairing_registry_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698