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

Unified Diff: gpu/config/gpu_info_collector.cc

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: gpu/config/gpu_info_collector.cc
diff --git a/gpu/config/gpu_info_collector.cc b/gpu/config/gpu_info_collector.cc
index 8ea80921ca6cf9d3b3d1db90d1a7b1da004c7071..79ae1c883932d0b14b162b98d4f9f83c5bfb6daa 100644
--- a/gpu/config/gpu_info_collector.cc
+++ b/gpu/config/gpu_info_collector.cc
@@ -45,7 +45,7 @@ scoped_refptr<gl::GLSurface> InitializeGLSurface() {
scoped_refptr<gl::GLContext> InitializeGLContext(gl::GLSurface* surface) {
scoped_refptr<gl::GLContext> context(
- gl::init::CreateGLContext(nullptr, surface, gl::PreferIntegratedGpu));
+ gl::init::CreateGLContext(nullptr, surface, gl::GLContextAttribs()));
if (!context.get()) {
LOG(ERROR) << "gl::init::CreateGLContext failed";
return NULL;

Powered by Google App Engine
This is Rietveld 408576698