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

Unified Diff: ui/gl/gl_api_unittest.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: ui/gl/gl_api_unittest.cc
diff --git a/ui/gl/gl_api_unittest.cc b/ui/gl/gl_api_unittest.cc
index cc1f3ff602bdc0768cbda7d1ced35ed5f2236a79..23c3075b1939659598bddcafdd115ef93c31670c 100644
--- a/ui/gl/gl_api_unittest.cc
+++ b/ui/gl/gl_api_unittest.cc
@@ -20,7 +20,7 @@ namespace gl {
class GLContextFake : public GLContext {
public:
bool Initialize(GLSurface* compatible_surface,
- GpuPreference gpu_preference) override {
+ const GLContextAttribs& attribs) override {
return true;
}
bool MakeCurrent(GLSurface* surface) override { return true; }

Powered by Google App Engine
This is Rietveld 408576698