| Index: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp (revision 99500)
|
| +++ Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp (working copy)
|
| @@ -122,8 +122,8 @@
|
|
|
| void CCLayerTreeHostImpl::setVisible(bool visible)
|
| {
|
| - if (m_layerRenderer && !visible)
|
| - m_layerRenderer->releaseRenderSurfaceTextures();
|
| + if (m_layerRenderer)
|
| + m_layerRenderer->setVisible(visible);
|
| }
|
|
|
| bool CCLayerTreeHostImpl::initializeLayerRenderer(PassRefPtr<GraphicsContext3D> context)
|
|
|