Index: ui/gl/init/gl_factory.cc |
diff --git a/ui/gl/init/gl_factory.cc b/ui/gl/init/gl_factory.cc |
index 85332096c0ae09b8c716fdd6b12b9e034627af01..3fad83d450cede1be957098842d1c5b748a861c2 100644 |
--- a/ui/gl/init/gl_factory.cc |
+++ b/ui/gl/init/gl_factory.cc |
@@ -22,8 +22,7 @@ bool InitializeGLOneOff() { |
DCHECK_EQ(kGLImplementationNone, GetGLImplementation()); |
- std::vector<GLImplementation> allowed_impls; |
- GetAllowedGLImplementations(&allowed_impls); |
+ std::vector<GLImplementation> allowed_impls = GetAllowedGLImplementations(); |
DCHECK(!allowed_impls.empty()); |
base::CommandLine* cmd = base::CommandLine::ForCurrentProcess(); |