Chromium Code Reviews| Index: gpu/command_buffer/service/context_group.h |
| diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h |
| index 504ae7e6196dd87dba7acad86240c70139cf468b..d3ecc5519f6f0e0bbb8adcc0901f055f0fb74771 100644 |
| --- a/gpu/command_buffer/service/context_group.h |
| +++ b/gpu/command_buffer/service/context_group.h |
| @@ -47,12 +47,10 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> { |
| enum ContextType { |
|
Zhenyao Mo
2015/08/28 17:16:25
Can we not redefine the ContextType? And just use
Kimmo Kinnunen
2015/08/31 12:23:13
Sure. (To me, they appeared as being in different
|
| CONTEXT_TYPE_WEBGL1, |
| CONTEXT_TYPE_WEBGL2, |
| - CONTEXT_TYPE_OTHER, |
| - CONTEXT_TYPE_UNDEFINED |
| + CONTEXT_TYPE_OPENGLES2, |
| + CONTEXT_TYPE_OPENGLES3 |
| }; |
| - static ContextType GetContextType(unsigned webgl_version); |
| - |
| ContextGroup( |
| const scoped_refptr<MailboxManager>& mailbox_manager, |
| const scoped_refptr<MemoryTracker>& memory_tracker, |