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

Unified Diff: ui/gl/test/gl_image_test_template.h

Issue 2497503004: Revert of Refactor context creation parameters into a struct. (Closed)
Patch Set: Created 4 years, 1 month 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/init/gl_factory_x11.cc ('k') | ui/ozone/common/gl_ozone_egl.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_template.h
diff --git a/ui/gl/test/gl_image_test_template.h b/ui/gl/test/gl_image_test_template.h
index daab9b9e22ed751a6a369815d875712d08157897..99e781bca857c1586f32861eb10c62fc4af8e937 100644
--- a/ui/gl/test/gl_image_test_template.h
+++ b/ui/gl/test/gl_image_test_template.h
@@ -165,7 +165,7 @@
GLImageTestSupport::InitializeGL();
surface_ = gl::init::CreateOffscreenGLSurface(gfx::Size());
context_ =
- gl::init::CreateGLContext(nullptr, surface_.get(), GLContextAttribs());
+ gl::init::CreateGLContext(nullptr, surface_.get(), PreferIntegratedGpu);
context_->MakeCurrent(surface_.get());
}
void TearDown() override {
« no previous file with comments | « ui/gl/init/gl_factory_x11.cc ('k') | ui/ozone/common/gl_ozone_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698