Index: Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp |
=================================================================== |
--- Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp (revision 122256) |
+++ Source/WebKit/chromium/tests/CCLayerTreeHostTest.cpp (working copy) |
@@ -1687,6 +1687,7 @@ |
m_layerTreeHost->setRootLayer(rootLayer); |
m_layerTreeHost->setViewportSize(rootLayer->bounds()); |
+ ASSERT_TRUE(m_layerTreeHost->initializeLayerRendererIfNeeded()); |
CCTextureUpdater updater; |
m_layerTreeHost->updateLayers(updater); |
m_layerTreeHost->commitComplete(); |
@@ -1894,6 +1895,7 @@ |
m_layerTreeHost->setRootLayer(rootLayer); |
m_layerTreeHost->setViewportSize(rootLayer->bounds()); |
+ ASSERT_TRUE(m_layerTreeHost->initializeLayerRendererIfNeeded()); |
CCTextureUpdater updater; |
m_layerTreeHost->updateLayers(updater); |
m_layerTreeHost->commitComplete(); |
@@ -1982,6 +1984,7 @@ |
m_layerTreeHost->setRootLayer(layers[0].get()); |
m_layerTreeHost->setViewportSize(layers[0]->bounds()); |
+ ASSERT_TRUE(m_layerTreeHost->initializeLayerRendererIfNeeded()); |
CCTextureUpdater updater; |
m_layerTreeHost->updateLayers(updater); |
m_layerTreeHost->commitComplete(); |