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

Unified Diff: ui/gl/gl_api_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/egl_api_unittest.cc ('k') | ui/gl/gl_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_api_unittest.cc
diff --git a/ui/gl/gl_api_unittest.cc b/ui/gl/gl_api_unittest.cc
index 08695b14ad8f9a3a29da32b572daaf6a31ccc399..7cf56022f54f84dc568e27e96f50980a8b16434c 100644
--- a/ui/gl/gl_api_unittest.cc
+++ b/ui/gl/gl_api_unittest.cc
@@ -4,9 +4,10 @@
#include <stdint.h>
+#include <memory>
+
#include "base/command_line.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_context.h"
#include "ui/gl/gl_gl_api_implementation.h"
@@ -137,8 +138,8 @@ class GLApiTest : public testing::Test {
static const char** fake_extension_strings_;
scoped_refptr<GLContext> fake_context_;
- scoped_ptr<DriverGL> driver_;
- scoped_ptr<RealGLApi> api_;
+ std::unique_ptr<DriverGL> driver_;
+ std::unique_ptr<RealGLApi> api_;
};
const char* GLApiTest::fake_extension_string_ = "";
« no previous file with comments | « ui/gl/egl_api_unittest.cc ('k') | ui/gl/gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698