| Index: ui/gl/test/gl_surface_test_support.cc
|
| diff --git a/ui/gl/test/gl_surface_test_support.cc b/ui/gl/test/gl_surface_test_support.cc
|
| index 3097e8c5d452ad6f3eb46261b82fefaa309b7fc4..aae8fd79d497a7cdfb111c3d4ef8f5184761b0eb 100644
|
| --- a/ui/gl/test/gl_surface_test_support.cc
|
| +++ b/ui/gl/test/gl_surface_test_support.cc
|
| @@ -44,8 +44,8 @@ void GLSurfaceTestSupport::InitializeOneOff() {
|
| use_osmesa = false;
|
| #endif
|
|
|
| - std::vector<GLImplementation> allowed_impls;
|
| - GetAllowedGLImplementations(&allowed_impls);
|
| + std::vector<GLImplementation> allowed_impls =
|
| + init::GetAllowedGLImplementations();
|
| DCHECK(!allowed_impls.empty());
|
|
|
| GLImplementation impl = allowed_impls[0];
|
|
|