diff options
author | sergeyu <sergeyu@chromium.org> | 2014-09-30 19:36:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-01 02:37:06 +0000 |
commit | 2d69088aaa9c1ce161c0faee988c54a7dfc797cc (patch) | |
tree | 26b10313dd8667c64d77e7d275f76b2bebf7d88c /remoting/host/local_input_monitor_mac.mm | |
parent | 6561311f4cb8275fc8dd85592840bb4a8e6ee6d3 (diff) | |
download | chromium_src-2d69088aaa9c1ce161c0faee988c54a7dfc797cc.zip chromium_src-2d69088aaa9c1ce161c0faee988c54a7dfc797cc.tar.gz chromium_src-2d69088aaa9c1ce161c0faee988c54a7dfc797cc.tar.bz2 |
Use make_scoped_ptr() in src/remoting.
Also minor code cleanup in daemon_installer_win.cc .
Review URL: https://codereview.chromium.org/608343002
Cr-Commit-Position: refs/heads/master@{#297583}
Diffstat (limited to 'remoting/host/local_input_monitor_mac.mm')
-rw-r--r-- | remoting/host/local_input_monitor_mac.mm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/host/local_input_monitor_mac.mm b/remoting/host/local_input_monitor_mac.mm index 8c3ddc9..a5163a8 100644 --- a/remoting/host/local_input_monitor_mac.mm +++ b/remoting/host/local_input_monitor_mac.mm @@ -281,10 +281,8 @@ scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create( scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, base::WeakPtr<ClientSessionControl> client_session_control) { - return scoped_ptr<LocalInputMonitor>( - new LocalInputMonitorMac(caller_task_runner, - ui_task_runner, - client_session_control)); + return make_scoped_ptr(new LocalInputMonitorMac( + caller_task_runner, ui_task_runner, client_session_control)); } } // namespace remoting |