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

Unified Diff: ui/gl/egl_api_unittest.cc

Issue 2136553002: Remove GetPlatformDefaultEGLNativeDisplay() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to original. Created 4 years, 5 months 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/generate_bindings.py » ('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 42ce7fc62c8e59a64e27ed05cc8ec5274fc8bf38..b9dbd15a034f5d8224cddae2aee5feaff4fcc131 100644
--- a/ui/gl/egl_api_unittest.cc
+++ b/ui/gl/egl_api_unittest.cc
@@ -7,6 +7,7 @@
#include "base/command_line.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_egl_api_implementation.h"
+#include "ui/gl/gl_surface_egl.h"
#include "ui/gl/gl_switches.h"
namespace gl {
@@ -42,6 +43,8 @@ class EGLApiTest : public testing::Test {
api_->InitializeWithCommandLine(&g_driver_egl, command_line);
else
api_->Initialize(&g_driver_egl);
+ g_driver_egl.InitializeClientExtensionBindings();
+ GLSurfaceEGL::InitializeDisplay(EGL_DEFAULT_DISPLAY);
g_driver_egl.InitializeExtensionBindings();
}
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698