| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 7372d1dd2b1a9dc81552f4efad9df1ccc150b580..87e9dddccc27290234cd575d313d6af375241a48 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1619,7 +1619,7 @@ bool LayerTreeHostImpl::CanUseGpuRasterization() {
|
|
|
| ContextProvider* context_provider =
|
| output_surface_->worker_context_provider();
|
| - base::AutoLock context_lock(*context_provider->GetLock());
|
| + ContextProvider::ScopedContextLock scoped_context(context_provider);
|
| if (!context_provider->GrContext())
|
| return false;
|
|
|
|
|