Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/autofill/autofill_dialog_views.h
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
index b30fa9c0691c0742768536e996621ef28cb54e47..cd181c3f93d99c967c0a356b0379b44910a8f90e 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -502,7 +502,7 @@ class AutofillDialogViews : public AutofillDialogView,
NotificationArea* notification_area_;
// Runs the suggestion menu (triggered by each section's |suggested_button|).
- scoped_ptr<views::MenuRunner> menu_runner_;
+ std::unique_ptr<views::MenuRunner> menu_runner_;
// View that wraps |details_container_| and makes it scroll vertically.
views::ScrollView* scrollable_area_;
@@ -536,7 +536,7 @@ class AutofillDialogViews : public AutofillDialogView,
ScopedObserver<views::Widget, AutofillDialogViews> observer_;
// Used to tell the delegate when focus moves to hide the Autofill popup.
- scoped_ptr<ui::EventHandler> event_handler_;
+ std::unique_ptr<ui::EventHandler> event_handler_;
DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews);
};

Powered by Google App Engine
This is Rietveld 408576698