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

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

Issue 2480373002: 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
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 99e781bca857c1586f32861eb10c62fc4af8e937..daab9b9e22ed751a6a369815d875712d08157897 100644
--- a/ui/gl/test/gl_image_test_template.h
+++ b/ui/gl/test/gl_image_test_template.h
@@ -165,7 +165,7 @@ class GLImageTest : public testing::Test {
GLImageTestSupport::InitializeGL();
surface_ = gl::init::CreateOffscreenGLSurface(gfx::Size());
context_ =
- gl::init::CreateGLContext(nullptr, surface_.get(), PreferIntegratedGpu);
+ gl::init::CreateGLContext(nullptr, surface_.get(), GLContextAttribs());
context_->MakeCurrent(surface_.get());
}
void TearDown() override {

Powered by Google App Engine
This is Rietveld 408576698