Finish fixing EGL enums.

This removes the temporary defines now that Chromium is up-to-date.

Bug: angleproject:2806
Change-Id: I8e3308d6b80e49c2b2a7a698ee5d8ad40f442475
Reviewed-on: https://chromium-review.googlesource.com/1227031
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
diff --git a/src/libANGLE/Context.cpp b/src/libANGLE/Context.cpp
index a307400..0cb16bc 100644
--- a/src/libANGLE/Context.cpp
+++ b/src/libANGLE/Context.cpp
@@ -198,9 +198,7 @@
 
 bool GetWebGLContext(const egl::AttributeMap &attribs)
 {
-    // TODO(jmadill): Remove this. http://anglebug.com/2806
-    return (attribs.get(EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE, EGL_FALSE) == EGL_TRUE) ||
-           (attribs.get(EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE_OLD, EGL_FALSE) == EGL_TRUE);
+    return (attribs.get(EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE, EGL_FALSE) == EGL_TRUE);
 }
 
 bool GetExtensionsEnabled(const egl::AttributeMap &attribs, bool webGLContext)
@@ -212,16 +210,7 @@
 
 bool GetBindGeneratesResource(const egl::AttributeMap &attribs)
 {
-    // TODO(jmadill): Remove this. http://anglebug.com/2806
-    if (attribs.contains(EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM))
-    {
-        return (attribs.get(EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM, EGL_TRUE) == EGL_TRUE);
-    }
-    else
-    {
-        return (attribs.get(EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM_OLD, EGL_TRUE) ==
-                EGL_TRUE);
-    }
+    return (attribs.get(EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM, EGL_TRUE) == EGL_TRUE);
 }
 
 bool GetClientArraysEnabled(const egl::AttributeMap &attribs)
diff --git a/src/libANGLE/Display.cpp b/src/libANGLE/Display.cpp
index ff50a13..b2643d6 100644
--- a/src/libANGLE/Display.cpp
+++ b/src/libANGLE/Display.cpp
@@ -763,10 +763,8 @@
     }
 
     // This display texture sharing will allow the first context to create the texture share group.
-    // TODO(jmadill): Remove this. http://anglebug.com/2806
     bool usingDisplayTextureShareGroup =
-        attribs.get(EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE, EGL_FALSE) == EGL_TRUE ||
-        attribs.get(EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE_OLD, EGL_FALSE) == EGL_TRUE;
+        attribs.get(EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE, EGL_FALSE) == EGL_TRUE;
     gl::TextureManager *shareTextures = nullptr;
 
     if (usingDisplayTextureShareGroup)
diff --git a/src/libANGLE/validationEGL.cpp b/src/libANGLE/validationEGL.cpp
index 77d335ba..3a772be 100644
--- a/src/libANGLE/validationEGL.cpp
+++ b/src/libANGLE/validationEGL.cpp
@@ -879,8 +879,6 @@
                 }
                 break;
 
-            // TODO(jmadill): Remove this. http://anglebug.com/2806
-            case EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE_OLD:
             case EGL_CONTEXT_WEBGL_COMPATIBILITY_ANGLE:
                 if (!display->getExtensions().createContextWebGLCompatibility)
                 {
@@ -895,8 +893,6 @@
                 }
                 break;
 
-            // TODO(jmadill): Remove this. http://anglebug.com/2806
-            case EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM_OLD:
             case EGL_CONTEXT_BIND_GENERATES_RESOURCE_CHROMIUM:
                 if (!display->getExtensions().createContextBindGeneratesResource)
                 {
@@ -911,8 +907,6 @@
                 }
                 break;
 
-            // TODO(jmadill): Remove this. http://anglebug.com/2806
-            case EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE_OLD:
             case EGL_DISPLAY_TEXTURE_SHARE_GROUP_ANGLE:
                 if (!display->getExtensions().displayTextureShareGroup)
                 {