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

Unified Diff: components/constrained_window/constrained_window_views_unittest.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
« no previous file with comments | « components/constrained_window/constrained_window_views.cc ('k') | components/crx_file/crx_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/constrained_window/constrained_window_views_unittest.cc
diff --git a/components/constrained_window/constrained_window_views_unittest.cc b/components/constrained_window/constrained_window_views_unittest.cc
index c9957db5c8023ce93c90f26d9ff9524456ec0c53..e929867eb8175a7a8d8ebd8e0206e879f0b8dd0e 100644
--- a/components/constrained_window/constrained_window_views_unittest.cc
+++ b/components/constrained_window/constrained_window_views_unittest.cc
@@ -4,6 +4,8 @@
#include "components/constrained_window/constrained_window_views.h"
+#include <memory>
+
#include "base/macros.h"
#include "components/web_modal/test_web_contents_modal_dialog_host.h"
#include "ui/gfx/geometry/point.h"
@@ -80,7 +82,7 @@ class ConstrainedWindowViewsTest : public views::ViewsTestBase {
private:
DialogContents* contents_;
- scoped_ptr<web_modal::TestWebContentsModalDialogHost> dialog_host_;
+ std::unique_ptr<web_modal::TestWebContentsModalDialogHost> dialog_host_;
Widget* dialog_;
DISALLOW_COPY_AND_ASSIGN(ConstrainedWindowViewsTest);
« no previous file with comments | « components/constrained_window/constrained_window_views.cc ('k') | components/crx_file/crx_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698