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. |