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

Unified Diff: components/constrained_window/constrained_window_views.cc

Issue 1921973002: Convert //components/[a-e]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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: components/constrained_window/constrained_window_views.cc
diff --git a/components/constrained_window/constrained_window_views.cc b/components/constrained_window/constrained_window_views.cc
index 21c64054f38325f82be74e103a7ed39fa96c3b4f..62c274d33fdcbd521e626fa88e56641163238376 100644
--- a/components/constrained_window/constrained_window_views.cc
+++ b/components/constrained_window/constrained_window_views.cc
@@ -105,7 +105,7 @@ void UpdateModalDialogPosition(views::Widget* widget,
// static
void SetConstrainedWindowViewsClient(
- scoped_ptr<ConstrainedWindowViewsClient> new_client) {
+ std::unique_ptr<ConstrainedWindowViewsClient> new_client) {
delete constrained_window_views_client;
constrained_window_views_client = new_client.release();
}

Powered by Google App Engine
This is Rietveld 408576698