| Index: ui/gl/gl_context.cc
|
| diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc
|
| index f89f1d2a697c1d658cec151e64cab4f1e121e1e1..720e8e23513c534efe37bea129a11d5fd4831c52 100644
|
| --- a/ui/gl/gl_context.cc
|
| +++ b/ui/gl/gl_context.cc
|
| @@ -106,8 +106,8 @@ const GLVersionInfo* GLContext::GetVersionInfo() {
|
| if(!version_info_) {
|
| std::string version = GetGLVersion();
|
| std::string renderer = GetGLRenderer();
|
| - version_info_ = scoped_ptr<GLVersionInfo>(
|
| - new GLVersionInfo(version.c_str(), renderer.c_str()));
|
| + version_info_ =
|
| + make_scoped_ptr(new GLVersionInfo(version.c_str(), renderer.c_str()));
|
| }
|
| return version_info_.get();
|
| }
|
|
|