| Index: cc/resource_update_controller.cc
|
| diff --git a/cc/resource_update_controller.cc b/cc/resource_update_controller.cc
|
| index 9c35f8be6e91554ddbbd15c582ba34d1f30de095..1177d5372fcaa69b0d8012bf20243bdc572c23e9 100644
|
| --- a/cc/resource_update_controller.cc
|
| +++ b/cc/resource_update_controller.cc
|
| @@ -141,9 +141,9 @@ void ResourceUpdateController::updateTexture(ResourceUpdate update)
|
| // is available in other shared contexts. It is important to do here
|
| // because the backing texture is created in one context while it is
|
| // being written to in another.
|
| - m_resourceProvider->flush();
|
| ResourceProvider::ScopedWriteLockGL lock(
|
| m_resourceProvider, texture->resourceId());
|
| + m_resourceProvider->flush();
|
|
|
| // Make sure ganesh uses the correct GL context.
|
| paintContext->makeContextCurrent();
|
|
|