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

Unified Diff: ui/gl/test/gl_image_test_support.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/test/egl_initialization_displays_unittest.cc ('k') | ui/gl/test/gl_image_test_template.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/test/gl_image_test_support.cc
diff --git a/ui/gl/test/gl_image_test_support.cc b/ui/gl/test/gl_image_test_support.cc
index 002ccf0b15c9dcb360bcb42ed9ca3c9a74875d66..3da60b5a05f28388e98869765262f985531a6ec0 100644
--- a/ui/gl/test/gl_image_test_support.cc
+++ b/ui/gl/test/gl_image_test_support.cc
@@ -17,13 +17,12 @@ namespace gl {
// static
void GLImageTestSupport::InitializeGL() {
-
- std::vector<gfx::GLImplementation> allowed_impls;
+ std::vector<gl::GLImplementation> allowed_impls;
GetAllowedGLImplementations(&allowed_impls);
DCHECK(!allowed_impls.empty());
- gfx::GLImplementation impl = allowed_impls[0];
- gfx::GLSurfaceTestSupport::InitializeOneOffImplementation(impl, true);
+ gl::GLImplementation impl = allowed_impls[0];
+ gl::GLSurfaceTestSupport::InitializeOneOffImplementation(impl, true);
#if defined(USE_OZONE)
// Make sure all the tasks posted to the current task runner by the
// initialization functions are run before running the tests.
@@ -33,7 +32,7 @@ void GLImageTestSupport::InitializeGL() {
// static
void GLImageTestSupport::CleanupGL() {
- gfx::ClearGLBindings();
+ gl::ClearGLBindings();
}
// static
« no previous file with comments | « ui/gl/test/egl_initialization_displays_unittest.cc ('k') | ui/gl/test/gl_image_test_template.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698