| Index: components/mus/public/cpp/lib/context_provider.cc
|
| diff --git a/components/mus/public/cpp/lib/context_provider.cc b/components/mus/public/cpp/lib/context_provider.cc
|
| index f1468f0228808c5290466a41d90d89773a006a5c..7e06ee6dbe8080be1aaf297ebfccc42e316333ed 100644
|
| --- a/components/mus/public/cpp/lib/context_provider.cc
|
| +++ b/components/mus/public/cpp/lib/context_provider.cc
|
| @@ -18,10 +18,8 @@ ContextProvider::ContextProvider(
|
| }
|
|
|
| bool ContextProvider::BindToCurrentThread() {
|
| - DCHECK(command_buffer_handle_.is_valid());
|
| std::unique_ptr<GLES2Context> context(new GLES2Context(
|
| - std::vector<int32_t>(), std::move(command_buffer_handle_),
|
| - &ContextLostThunk, this));
|
| + std::vector<int32_t>(), std::move(command_buffer_handle_)));
|
| if (context->Initialize())
|
| context_ = std::move(context);
|
| return !!context_;
|
| @@ -60,6 +58,4 @@ base::Lock* ContextProvider::GetLock() {
|
| ContextProvider::~ContextProvider() {
|
| }
|
|
|
| -void ContextProvider::ContextLost() {}
|
| -
|
| } // namespace mus
|
|
|