Index: chrome/browser/download/download_ui_controller.cc |
diff --git a/chrome/browser/download/download_ui_controller.cc b/chrome/browser/download/download_ui_controller.cc |
index 9068ef8de9d832c708be285db98e18b90f773906..5b45568db437f388da4e5e7522aeaa11f197b6bb 100644 |
--- a/chrome/browser/download/download_ui_controller.cc |
+++ b/chrome/browser/download/download_ui_controller.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/download/download_ui_controller.h" |
+#include <utility> |
+ |
#include "base/callback.h" |
#include "base/stl_util.h" |
#include "build/build_config.h" |
@@ -106,8 +108,7 @@ DownloadUIController::Delegate::~Delegate() { |
DownloadUIController::DownloadUIController(content::DownloadManager* manager, |
scoped_ptr<Delegate> delegate) |
- : download_notifier_(manager, this), |
- delegate_(delegate.Pass()) { |
+ : download_notifier_(manager, this), delegate_(std::move(delegate)) { |
#if defined(OS_ANDROID) |
if (!delegate_) |
delegate_.reset(new AndroidUIControllerDelegate()); |