Index: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp (revision 125969) |
+++ Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp (working copy) |
@@ -251,7 +251,6 @@ |
{ |
ASSERT(renderSurfaceLayerList.isEmpty()); |
ASSERT(m_rootLayerImpl); |
- ASSERT(m_layerRenderer); // For maxTextureSize. |
{ |
TRACE_EVENT0("cc", "CCLayerTreeHostImpl::calcDrawEtc"); |
@@ -825,8 +824,6 @@ |
{ |
if (!m_rootLayerImpl) |
return false; |
- if (!m_layerRenderer) |
- return false; |
// We need both a non-empty render surface layer list and a root render |
// surface to be able to iterate over the visible layers. |