Index: cc/CCSingleThreadProxy.cpp |
diff --git a/cc/CCSingleThreadProxy.cpp b/cc/CCSingleThreadProxy.cpp |
index 6e342a00be7d88da1a015ed02be0935544ee3bbc..2ceb0cdeee089aa4ca66babd2f092ade98025910 100644 |
--- a/cc/CCSingleThreadProxy.cpp |
+++ b/cc/CCSingleThreadProxy.cpp |
@@ -305,7 +305,7 @@ void CCSingleThreadProxy::forceSerializeOnSwapBuffers() |
void CCSingleThreadProxy::onSwapBuffersCompleteOnImplThread() |
{ |
- ASSERT_NOT_REACHED(); |
+ //ASSERT_NOT_REACHED(); |
} |
bool CCSingleThreadProxy::commitAndComposite() |
@@ -363,10 +363,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; |
} |