Index: gpu/gles2_conform_support/egl/egl.cc |
diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc |
index 5a81954bd10d4ad4368cd603df5a20dfe3306663..0435067822ddbb3faf1d0eb097b8fcc57af96e1f 100644 |
--- a/gpu/gles2_conform_support/egl/egl.cc |
+++ b/gpu/gles2_conform_support/egl/egl.cc |
@@ -5,6 +5,8 @@ |
#include <EGL/egl.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/command_line.h" |
#include "base/environment.h" |
#include "base/strings/string_split.h" |
@@ -116,7 +118,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy, |
// being called multiple times. |
if (gfx::GetGLImplementation() == gfx::kGLImplementationNone) { |
base::CommandLine::StringVector argv; |
- scoped_ptr<base::Environment> env(base::Environment::Create()); |
+ std::unique_ptr<base::Environment> env(base::Environment::Create()); |
std::string env_string; |
env->GetVar("CHROME_COMMAND_BUFFER_GLES2_ARGS", &env_string); |
#if defined(OS_WIN) |