Index: src/gpu/gl/GrGLInterface.cpp |
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp |
index 76886015e0fd840ac174f3924befc5865e0b8d8d..949e2bf3437c903432a626d444a7e946b31b19c1 100644 |
--- a/src/gpu/gl/GrGLInterface.cpp |
+++ b/src/gpu/gl/GrGLInterface.cpp |
@@ -319,12 +319,9 @@ bool GrGLInterface::validate() const { |
} |
if (fExtensions.has("GL_EXT_discard_framebuffer")) { |
-// FIXME: Remove this once Chromium is updated to provide this function |
-#if 0 |
if (nullptr == fFunctions.fDiscardFramebuffer) { |
RETURN_FALSE_INTERFACE |
} |
-#endif |
} |
// FBO MSAA |
@@ -510,11 +507,9 @@ bool GrGLInterface::validate() const { |
if (kGLES_GrGLStandard == fStandard || glVer >= GR_GL_VER(4,1) || |
fExtensions.has("GL_ARB_ES2_compatibility")) { |
-#if 0 // Enable this once Chrome gives us the function ptr |
if (nullptr == fFunctions.fGetShaderPrecisionFormat) { |
RETURN_FALSE_INTERFACE |
} |
-#endif |
} |
if (fExtensions.has("GL_NV_path_rendering") || fExtensions.has("GL_CHROMIUM_path_rendering")) { |