Index: chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
index f7aaaa81ba0de4986cd14f3a63012e1d1c9da700..b5c7be965a519a9c1ebb90ac69cce7e87f5ac7b7 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc |
@@ -228,8 +228,8 @@ class NotificationView : public views::View, |
: data_(data), |
delegate_(delegate), |
checkbox_(NULL) { |
- scoped_ptr<views::View> label_view; |
- scoped_ptr<views::StyledLabel> label( |
+ std::unique_ptr<views::View> label_view; |
+ std::unique_ptr<views::StyledLabel> label( |
new views::StyledLabel(data.display_text(), this)); |
label->set_auto_color_readability_enabled(false); |
@@ -389,8 +389,8 @@ void AutofillDialogViews::NotificationArea::SetNotifications( |
for (size_t i = 0; i < notifications_.size(); ++i) { |
const DialogNotification& notification = notifications_[i]; |
- scoped_ptr<NotificationView> view(new NotificationView(notification, |
- delegate_)); |
+ std::unique_ptr<NotificationView> view( |
+ new NotificationView(notification, delegate_)); |
AddChildView(view.release()); |
} |
@@ -492,7 +492,7 @@ AutofillDialogViews::SectionContainer::SectionContainer( |
AddChildView(controls); |
SetEventTargeter( |
- scoped_ptr<views::ViewTargeter>(new views::ViewTargeter(this))); |
+ std::unique_ptr<views::ViewTargeter>(new views::ViewTargeter(this))); |
} |
AutofillDialogViews::SectionContainer::~SectionContainer() {} |
@@ -1377,7 +1377,7 @@ void AutofillDialogViews::InitInputsView(DialogSection section) { |
ui::ComboboxModel* input_model = |
delegate_->ComboboxModelForAutofillType(input.type); |
- scoped_ptr<views::View> view_to_add; |
+ std::unique_ptr<views::View> view_to_add; |
if (input_model) { |
views::Combobox* combobox = new views::Combobox(input_model); |
combobox->set_listener(this); |