Index: gpu/ipc/service/gpu_command_buffer_stub.h |
diff --git a/gpu/ipc/service/gpu_command_buffer_stub.h b/gpu/ipc/service/gpu_command_buffer_stub.h |
index d65ef938251cb5aca0fa2c83b395a42bd65ba6fa..4264d1a192ed25d1270442b449f0d8cd0f7aedb7 100644 |
--- a/gpu/ipc/service/gpu_command_buffer_stub.h |
+++ b/gpu/ipc/service/gpu_command_buffer_stub.h |
@@ -70,6 +70,9 @@ class GPU_EXPORT GpuCommandBufferStub |
typedef base::Callback<void(const std::vector<ui::LatencyInfo>&)> |
LatencyInfoCallback; |
+ // This must leave the GL context associated with the newly-created |
+ // GpuCommandBufferStub current, so the GpuChannel can initialize |
+ // the gpu::Capabilities. |
static std::unique_ptr<GpuCommandBufferStub> Create( |
GpuChannel* channel, |
GpuCommandBufferStub* share_group, |