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

Unified Diff: ui/gl/gl_context_ozone.cc

Issue 1930633002: Fix gpu_ipc_service_unittests on mac_chromium_rel_ng by managing GL shared groups the same way in s… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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_mac.mm ('k') | ui/gl/gl_context_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_ozone.cc
diff --git a/ui/gl/gl_context_ozone.cc b/ui/gl/gl_context_ozone.cc
index d62b5686b9ed63b0ac5e5a18984dafc0326e905a..3727c656c160069b86a852e8692df16d1f2e9699 100644
--- a/ui/gl/gl_context_ozone.cc
+++ b/ui/gl/gl_context_ozone.cc
@@ -24,7 +24,7 @@ scoped_refptr<GLContext> GLContext::CreateGLContext(
switch (GetGLImplementation()) {
case kGLImplementationMockGL:
- return scoped_refptr<GLContext>(new GLContextStub());
+ return scoped_refptr<GLContext>(new GLContextStub(share_group));
case kGLImplementationOSMesaGL: {
scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));
if (!context->Initialize(compatible_surface, gpu_preference))
@@ -44,4 +44,3 @@ scoped_refptr<GLContext> GLContext::CreateGLContext(
}
} // namespace gfx
-
« no previous file with comments | « ui/gl/gl_context_mac.mm ('k') | ui/gl/gl_context_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698