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

Unified Diff: components/constrained_window/constrained_window_views.h

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.h
diff --git a/components/constrained_window/constrained_window_views.h b/components/constrained_window/constrained_window_views.h
index e8046767811a8127d51492eb0a3ade6c84efc3f0..fd44fe77d3a6ddf46780980b4c230fc35e681af3 100644
--- a/components/constrained_window/constrained_window_views.h
+++ b/components/constrained_window/constrained_window_views.h
@@ -5,7 +5,8 @@
#ifndef COMPONENTS_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_VIEWS_H_
#define COMPONENTS_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_VIEWS_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/gfx/native_widget_types.h"
namespace content {
@@ -29,7 +30,7 @@ class ConstrainedWindowViewsClient;
// Sets the ConstrainedWindowClient impl.
void SetConstrainedWindowViewsClient(
- scoped_ptr<ConstrainedWindowViewsClient> client);
+ std::unique_ptr<ConstrainedWindowViewsClient> client);
// Update the position of dialog |widget| against |dialog_host|. This is used to
// reposition widgets e.g. when the host dimensions change.

Powered by Google App Engine
This is Rietveld 408576698