Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
index df81daeb70ab70ea63a870066642df1ab7b25f49..fcf97d5a099c75cd7e4aa604e9ba9dd4096a2a7c 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
@@ -7,6 +7,7 @@ |
#include <algorithm> |
#include <map> |
#include <string> |
+#include <utility> |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
@@ -1430,9 +1431,8 @@ bool AutofillDialogControllerImpl::HandleKeyPressEventInInput( |
void AutofillDialogControllerImpl::ShowNewCreditCardBubble( |
scoped_ptr<CreditCard> new_card, |
scoped_ptr<AutofillProfile> billing_profile) { |
- NewCreditCardBubbleController::Show(web_contents(), |
- new_card.Pass(), |
- billing_profile.Pass()); |
+ NewCreditCardBubbleController::Show(web_contents(), std::move(new_card), |
+ std::move(billing_profile)); |
} |
void AutofillDialogControllerImpl::SubmitButtonDelayBegin() { |
@@ -2303,7 +2303,8 @@ void AutofillDialogControllerImpl::MaybeShowCreditCardBubble() { |
billing_profile.reset(new AutofillProfile(*profile)); |
} |
- ShowNewCreditCardBubble(newly_saved_card_.Pass(), billing_profile.Pass()); |
+ ShowNewCreditCardBubble(std::move(newly_saved_card_), |
+ std::move(billing_profile)); |
} |
void AutofillDialogControllerImpl::OnSubmitButtonDelayEnd() { |