| Index: ui/gl/init/gl_factory.cc
|
| diff --git a/ui/gl/init/gl_factory.cc b/ui/gl/init/gl_factory.cc
|
| index dff751b2c798da1c1717eadfb2d693a6b3a51337..376ab44952cc30137ecf5865aef88e6921eef7f3 100644
|
| --- a/ui/gl/init/gl_factory.cc
|
| +++ b/ui/gl/init/gl_factory.cc
|
| @@ -38,7 +38,10 @@ bool InitializeGLOneOff() {
|
| if (requested_implementation_name == "any") {
|
| fallback_to_osmesa = true;
|
| } else if (requested_implementation_name ==
|
| - kGLImplementationSwiftShaderName ||
|
| + kGLImplementationSwiftShaderName) {
|
| + impl = kGLImplementationSwiftShaderGL;
|
| + } else if (requested_implementation_name ==
|
| + kGLImplementationSwiftShaderForWebGLName ||
|
| requested_implementation_name == kGLImplementationANGLEName) {
|
| impl = kGLImplementationEGLGLES2;
|
| } else {
|
|
|