Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(873)

Unified Diff: ui/gl/egl_api_unittest.cc

Issue 2548253003: Revert of ui/gl: Initialize the ANGLE Platform on all configurations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/egl_api_unittest.cc
diff --git a/ui/gl/egl_api_unittest.cc b/ui/gl/egl_api_unittest.cc
index 772cf0646a1819ffa8b79583f0d719d14c527b6a..b9dbd15a034f5d8224cddae2aee5feaff4fcc131 100644
--- a/ui/gl/egl_api_unittest.cc
+++ b/ui/gl/egl_api_unittest.cc
@@ -25,7 +25,6 @@
g_driver_egl.fn.eglGetCurrentDisplayFn = &FakeGetCurrentDisplay;
g_driver_egl.fn.eglGetDisplayFn = &FakeGetDisplay;
g_driver_egl.fn.eglGetErrorFn = &FakeGetError;
- g_driver_egl.fn.eglGetProcAddressFn = &FakeGetProcAddress;
}
void TearDown() override {
@@ -81,11 +80,6 @@
static EGLint GL_BINDING_CALL FakeGetError() {
return EGL_SUCCESS;
- }
-
- static __eglMustCastToProperFunctionPointerType GL_BINDING_CALL
- FakeGetProcAddress(const char* procname) {
- return nullptr;
}
std::pair<const char*, const char*> GetExtensions() {
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698