Index: ios/chrome/browser/infobars/infobar.mm |
diff --git a/ios/chrome/browser/infobars/infobar.mm b/ios/chrome/browser/infobars/infobar.mm |
index b7f7453caa5ff2f939f0c0605f702e436b5f0be8..00ae46b66429829e43f7ac4e7f724fb30f038b27 100644 |
--- a/ios/chrome/browser/infobars/infobar.mm |
+++ b/ios/chrome/browser/infobars/infobar.mm |
@@ -4,6 +4,8 @@ |
#include "ios/chrome/browser/infobars/infobar.h" |
+#include <utility> |
+ |
#include "base/logging.h" |
#include "components/infobars/core/confirm_infobar_delegate.h" |
#include "components/translate/core/browser/translate_infobar_delegate.h" |
@@ -15,8 +17,7 @@ using infobars::InfoBar; |
using infobars::InfoBarDelegate; |
InfoBarIOS::InfoBarIOS(scoped_ptr<InfoBarDelegate> delegate) |
- : InfoBar(delegate.Pass()) { |
-} |
+ : InfoBar(std::move(delegate)) {} |
InfoBarIOS::~InfoBarIOS() { |
DCHECK(controller_); |