| Index: cc/CCSingleThreadProxy.cpp
|
| diff --git a/cc/CCSingleThreadProxy.cpp b/cc/CCSingleThreadProxy.cpp
|
| index 0a52d64ba10f336e45e03085dc9fc46dd5f0e0ca..47f01ebfd1198673747470f676f887c184019b35 100644
|
| --- a/cc/CCSingleThreadProxy.cpp
|
| +++ b/cc/CCSingleThreadProxy.cpp
|
| @@ -187,13 +187,7 @@ void CCSingleThreadProxy::doCommit(CCTextureUpdateQueue& queue)
|
|
|
| m_layerTreeHost->beginCommitOnImplThread(m_layerTreeHostImpl.get());
|
|
|
| - // CCTextureUpdateController::updateTextures is non-blocking and will
|
| - // return without updating any textures if the uploader is busy. This
|
| - // shouldn't be a problem here as the throttled uploader isn't used in
|
| - // single thread mode. For correctness, loop until no more updates are
|
| - // pending.
|
| - while (queue.hasMoreUpdates())
|
| - CCTextureUpdateController::updateTextures(m_layerTreeHostImpl->resourceProvider(), m_layerTreeHostImpl->renderer()->textureCopier(), m_layerTreeHostImpl->renderer()->textureUploader(), &queue, maxPartialTextureUpdates());
|
| + CCTextureUpdateController::updateTextures(m_layerTreeHostImpl->resourceProvider(), m_layerTreeHostImpl->renderer()->textureCopier(), m_layerTreeHostImpl->renderer()->textureUploader(), &queue);
|
|
|
| m_layerTreeHost->finishCommitOnImplThread(m_layerTreeHostImpl.get());
|
|
|
|
|