| Index: cc/CCSingleThreadProxy.cpp
|
| diff --git a/cc/CCSingleThreadProxy.cpp b/cc/CCSingleThreadProxy.cpp
|
| index 8a7bf372544605d539e8184b5bdd3c2281f45055..7c0014b6df5499d813f807a62cb4fc5e276b8dac 100644
|
| --- a/cc/CCSingleThreadProxy.cpp
|
| +++ b/cc/CCSingleThreadProxy.cpp
|
| @@ -321,10 +321,10 @@ bool CCSingleThreadProxy::doComposite()
|
| m_layerTreeHostImpl->prepareToDraw(frame);
|
| m_layerTreeHostImpl->drawLayers(frame);
|
| m_layerTreeHostImpl->didDrawAllLayers(frame);
|
| + m_contextLost = m_layerTreeHostImpl->isContextLost();
|
| }
|
|
|
| - if (m_layerTreeHostImpl->isContextLost()) {
|
| - m_contextLost = true;
|
| + if (m_contextLost) {
|
| m_layerTreeHost->didLoseContext();
|
| return false;
|
| }
|
|
|