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

Unified Diff: ui/gl/gl_context_stub.cc

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/gl_context_stub.h ('k') | ui/gl/gl_context_wgl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_stub.cc
diff --git a/ui/gl/gl_context_stub.cc b/ui/gl/gl_context_stub.cc
index a72f08080cc06d5b3f7c341c6bd1e9480a046316..9b42a093971c27993123b525ec7116b6fcdc60b6 100644
--- a/ui/gl/gl_context_stub.cc
+++ b/ui/gl/gl_context_stub.cc
@@ -12,8 +12,8 @@
GLContextStub::GLContextStub(GLShareGroup* share_group)
: GLContextReal(share_group) {}
-bool GLContextStub::Initialize(GLSurface* compatible_surface,
- const GLContextAttribs& attribs) {
+bool GLContextStub::Initialize(
+ GLSurface* compatible_surface, GpuPreference gpu_preference) {
return true;
}
« no previous file with comments | « ui/gl/gl_context_stub.h ('k') | ui/gl/gl_context_wgl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698