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

Unified Diff: ui/gl/egl_api_unittest.cc

Issue 2102443003: Break //ui/gl/ dependency on //ui/ozone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_bindings
Patch Set: GYP again. 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/DEPS ('k') | ui/gl/gl.gyp » ('j') | ui/gl/gl_surface_egl.h » ('J')
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..2ea56c8054f748a964a9d77d0d4607b0c79be4d7 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,7 @@ class EGLApiTest : public testing::Test {
api_->InitializeWithCommandLine(&g_driver_egl, command_line);
else
api_->Initialize(&g_driver_egl);
+ GLSurfaceEGL::SetNativeDisplay(EGL_DEFAULT_DISPLAY);
g_driver_egl.InitializeExtensionBindings();
}
« no previous file with comments | « ui/gl/DEPS ('k') | ui/gl/gl.gyp » ('j') | ui/gl/gl_surface_egl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698