| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index dc0cf2cd59d8fb7b0157910d7413124840fa44fb..539212c3a516336f977ce64680cf1c2ba04d15c6 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -464,20 +464,16 @@
|
| }
|
|
|
| bool GrGLCaps::hasPathRenderingSupport(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
|
| - bool hasChromiumPathRendering = ctxInfo.hasExtension("GL_CHROMIUM_path_rendering");
|
| -
|
| - if (!(ctxInfo.hasExtension("GL_NV_path_rendering") || hasChromiumPathRendering)) {
|
| + if (!ctxInfo.hasExtension("GL_NV_path_rendering")) {
|
| return false;
|
| }
|
| -
|
| if (kGL_GrGLStandard == ctxInfo.standard()) {
|
| if (ctxInfo.version() < GR_GL_VER(4, 3) &&
|
| !ctxInfo.hasExtension("GL_ARB_program_interface_query")) {
|
| return false;
|
| }
|
| } else {
|
| - if (!hasChromiumPathRendering &&
|
| - ctxInfo.version() < GR_GL_VER(3, 1)) {
|
| + if (ctxInfo.version() < GR_GL_VER(3, 1)) {
|
| return false;
|
| }
|
| }
|
|
|