| Index: components/translate/core/browser/translate_infobar_delegate.cc
|
| diff --git a/components/translate/core/browser/translate_infobar_delegate.cc b/components/translate/core/browser/translate_infobar_delegate.cc
|
| index d0384669fbaf31cff46c0554fda1ef507733b632..c8fd02d34b94063f44df0ef9bda90a7576d654b2 100644
|
| --- a/components/translate/core/browser/translate_infobar_delegate.cc
|
| +++ b/components/translate/core/browser/translate_infobar_delegate.cc
|
| @@ -5,6 +5,7 @@
|
| #include "components/translate/core/browser/translate_infobar_delegate.h"
|
|
|
| #include <algorithm>
|
| +#include <utility>
|
|
|
| #include "base/i18n/string_compare.h"
|
| #include "base/metrics/histogram_macros.h"
|
| @@ -105,9 +106,9 @@ void TranslateInfoBarDelegate::Create(
|
| original_language, target_language, error_type,
|
| triggered_from_menu))));
|
| if (old_delegate)
|
| - infobar_manager->ReplaceInfoBar(old_infobar, infobar.Pass());
|
| + infobar_manager->ReplaceInfoBar(old_infobar, std::move(infobar));
|
| else
|
| - infobar_manager->AddInfoBar(infobar.Pass());
|
| + infobar_manager->AddInfoBar(std::move(infobar));
|
| }
|
|
|
| void TranslateInfoBarDelegate::UpdateOriginalLanguage(
|
|
|