Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: cc/CCSingleThreadProxy.cpp

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: correct base Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698