Index: services/ui/public/cpp/gpu/context_provider_command_buffer.cc |
diff --git a/services/ui/public/cpp/gpu/context_provider_command_buffer.cc b/services/ui/public/cpp/gpu/context_provider_command_buffer.cc |
index 12034d266b7e882ec9e4126d9ab96fae09d05bad..13238158de2e0eebe639d85b4701ed413a294dfe 100644 |
--- a/services/ui/public/cpp/gpu/context_provider_command_buffer.cc |
+++ b/services/ui/public/cpp/gpu/context_provider_command_buffer.cc |
@@ -380,7 +380,8 @@ class GrContext* ContextProviderCommandBuffer::GrContext() { |
if (gr_context_) |
return gr_context_->get(); |
- gr_context_.reset(new skia_bindings::GrContextForGLES2Interface(ContextGL())); |
+ gr_context_.reset(new skia_bindings::GrContextForGLES2Interface( |
+ ContextGL(), ContextCapabilities())); |
cache_controller_->SetGrContext(gr_context_->get()); |
// If GlContext is already lost, also abandon the new GrContext. |