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() |