Index: remoting/host/resizing_host_observer.cc |
diff --git a/remoting/host/resizing_host_observer.cc b/remoting/host/resizing_host_observer.cc |
index 31edab97a7cf214395e4d4643290be81ab7ae18a..04129be366ac555b7935ff1ecd76db15825825c9 100644 |
--- a/remoting/host/resizing_host_observer.cc |
+++ b/remoting/host/resizing_host_observer.cc |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
#include <list> |
+#include <utility> |
#include "base/bind.h" |
#include "base/logging.h" |
@@ -118,10 +119,9 @@ class CandidateResolution { |
ResizingHostObserver::ResizingHostObserver( |
scoped_ptr<DesktopResizer> desktop_resizer) |
- : desktop_resizer_(desktop_resizer.Pass()), |
+ : desktop_resizer_(std::move(desktop_resizer)), |
now_function_(base::Bind(base::Time::Now)), |
- weak_factory_(this) { |
-} |
+ weak_factory_(this) {} |
ResizingHostObserver::~ResizingHostObserver() { |
if (!original_resolution_.IsEmpty()) |