Index: components/mus/public/cpp/lib/command_buffer_client_impl.cc |
diff --git a/components/mus/public/cpp/lib/command_buffer_client_impl.cc b/components/mus/public/cpp/lib/command_buffer_client_impl.cc |
index 632d0a7d0c218fcfad3d146c4416c27c9be5ba49..5bde26d08971f8ed0850f13346ae713e5e3317ae 100644 |
--- a/components/mus/public/cpp/lib/command_buffer_client_impl.cc |
+++ b/components/mus/public/cpp/lib/command_buffer_client_impl.cc |
@@ -77,7 +77,8 @@ CommandBufferClientImpl::CommandBufferClientImpl( |
next_fence_sync_release_(1), |
flushed_fence_sync_release_(0) { |
command_buffer_.set_connection_error_handler( |
- [this]() { Destroyed(gpu::error::kUnknown, gpu::error::kLostContext); }); |
+ base::Bind(&CommandBufferClientImpl::Destroyed, base::Unretained(this), |
+ gpu::error::kUnknown, gpu::error::kLostContext)); |
} |
CommandBufferClientImpl::~CommandBufferClientImpl() {} |