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

Unified Diff: ui/gl/test/egl_initialization_displays_unittest.cc

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/gl/gpu_timing_unittest.cc ('k') | ui/gl/test/gl_image_test_template.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/egl_initialization_displays_unittest.cc
diff --git a/ui/gl/test/egl_initialization_displays_unittest.cc b/ui/gl/test/egl_initialization_displays_unittest.cc
index 526a522796a7fcb1e65384aad8476415407c60f6..a7e9d514041844e31e897bd313ede99dcd02318d 100644
--- a/ui/gl/test/egl_initialization_displays_unittest.cc
+++ b/ui/gl/test/egl_initialization_displays_unittest.cc
@@ -8,7 +8,7 @@
namespace {
TEST(EGLInitializationDisplaysTest, DisableD3D11) {
- scoped_ptr<base::CommandLine> command_line(
+ std::unique_ptr<base::CommandLine> command_line(
new base::CommandLine(base::CommandLine::NO_PROGRAM));
std::vector<gfx::DisplayType> displays;
@@ -39,7 +39,7 @@ TEST(EGLInitializationDisplaysTest, DisableD3D11) {
}
TEST(EGLInitializationDisplaysTest, SwiftShader) {
- scoped_ptr<base::CommandLine> command_line(
+ std::unique_ptr<base::CommandLine> command_line(
new base::CommandLine(base::CommandLine::NO_PROGRAM));
std::vector<gfx::DisplayType> displays;
@@ -64,7 +64,7 @@ TEST(EGLInitializationDisplaysTest, SwiftShader) {
}
TEST(EGLInitializationDisplaysTest, DefaultRenderers) {
- scoped_ptr<base::CommandLine> command_line(
+ std::unique_ptr<base::CommandLine> command_line(
new base::CommandLine(base::CommandLine::NO_PROGRAM));
// Default without --use-angle flag
@@ -85,7 +85,7 @@ TEST(EGLInitializationDisplaysTest, DefaultRenderers) {
}
TEST(EGLInitializationDisplaysTest, NonDefaultRenderers) {
- scoped_ptr<base::CommandLine> command_line(
+ std::unique_ptr<base::CommandLine> command_line(
new base::CommandLine(base::CommandLine::NO_PROGRAM));
std::vector<gfx::DisplayType> displays;
@@ -110,7 +110,7 @@ TEST(EGLInitializationDisplaysTest, NonDefaultRenderers) {
}
TEST(EGLInitializationDisplaysTest, NoExtensions) {
- scoped_ptr<base::CommandLine> command_line(
+ std::unique_ptr<base::CommandLine> command_line(
new base::CommandLine(base::CommandLine::NO_PROGRAM));
// With no angle platform extensions, only DEFAULT should be available
« no previous file with comments | « ui/gl/gpu_timing_unittest.cc ('k') | ui/gl/test/gl_image_test_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698