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

Unified Diff: ui/views/examples/examples_window.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « ui/views/examples/examples_main.cc ('k') | ui/views/examples/examples_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/examples_window.h
diff --git a/ui/views/examples/examples_window.h b/ui/views/examples/examples_window.h
index 339389502f5a75a4c97f525d52a16c8bd07d7b4a..d35b8fc9a9d1b1ff2525db6f38f0af545f5fac9d 100644
--- a/ui/views/examples/examples_window.h
+++ b/ui/views/examples/examples_window.h
@@ -5,7 +5,8 @@
#ifndef UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_
#define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/memory/scoped_vector.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/examples/views_examples_export.h"
@@ -30,7 +31,7 @@ enum Operation {
VIEWS_EXAMPLES_EXPORT void ShowExamplesWindow(
Operation operation,
gfx::NativeWindow window_context,
- scoped_ptr<ScopedVector<ExampleBase> > extra_examples);
+ std::unique_ptr<ScopedVector<ExampleBase>> extra_examples);
} // namespace examples
} // namespace views
« no previous file with comments | « ui/views/examples/examples_main.cc ('k') | ui/views/examples/examples_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698