| Index: remoting/host/clipboard_mac.mm
|
| diff --git a/remoting/host/clipboard_mac.mm b/remoting/host/clipboard_mac.mm
|
| index d361a648513c82511ef12e300484db1e3c5918e8..572c4eeb8307a00211a97978a8ec0b23c3b5d77c 100644
|
| --- a/remoting/host/clipboard_mac.mm
|
| +++ b/remoting/host/clipboard_mac.mm
|
| @@ -8,6 +8,7 @@
|
| #include <stdint.h>
|
|
|
| #include <memory>
|
| +#include <utility>
|
|
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| @@ -53,7 +54,7 @@ void Start(
|
|
|
| void ClipboardMac::Start(
|
| std::unique_ptr<protocol::ClipboardStub> client_clipboard) {
|
| - client_clipboard_.reset(client_clipboard.release());
|
| + client_clipboard_ = std::move(client_clipboard);
|
|
|
| // Synchronize local change-count with the pasteboard's. The change-count is
|
| // used to detect clipboard changes.
|
|
|