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

Unified Diff: gpu/gles2_conform_support/native/main.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « gpu/gles2_conform_support/egl/egl.cc ('k') | gpu/ipc/client/command_buffer_proxy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/native/main.cc
diff --git a/gpu/gles2_conform_support/native/main.cc b/gpu/gles2_conform_support/native/main.cc
index be1fa72dda0010c85e18fa9ef02090e2de1a9d01..672b21276a9c9418585ecb60980d944d76793cd3 100644
--- a/gpu/gles2_conform_support/native/main.cc
+++ b/gpu/gles2_conform_support/native/main.cc
@@ -4,9 +4,10 @@
#include <stddef.h>
+#include <memory>
+
#include "base/at_exit.h"
#include "base/command_line.h"
-#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
@@ -36,7 +37,7 @@ int main(int argc, char *argv[]) {
base::mac::ScopedNSAutoreleasePool pool;
#endif
- scoped_ptr<const char*[]> argsArray(new const char*[args.size()+1]);
+ std::unique_ptr<const char* []> argsArray(new const char*[args.size() + 1]);
argsArray[0] = argv[0];
#if defined(OS_WIN)
« no previous file with comments | « gpu/gles2_conform_support/egl/egl.cc ('k') | gpu/ipc/client/command_buffer_proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698