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

Unified Diff: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp

Issue 10658010: Revert 121000 - [chromium] LayerRendererChromium is not getting visibility messages in single threa… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 6 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: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp (revision 121110)
+++ Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp (working copy)
@@ -146,11 +146,6 @@
// Recompute max scroll position; must be after layer content bounds are
// updated.
updateMaxScrollPosition();
-
- // Ensure all GL calls (including texture deletions) will actually be
- // submitted for execution in the case we didn't call swap buffers.
- if ((!m_visible || !canDraw()) && context())
- context()->flush();
}
bool CCLayerTreeHostImpl::canDraw()

Powered by Google App Engine
This is Rietveld 408576698