Index: Source/WebKit/chromium/tests/TiledLayerChromiumTest.cpp |
=================================================================== |
--- Source/WebKit/chromium/tests/TiledLayerChromiumTest.cpp (revision 122256) |
+++ Source/WebKit/chromium/tests/TiledLayerChromiumTest.cpp (working copy) |
@@ -798,6 +798,7 @@ |
WebKit::WebCompositor::initialize(0); |
FakeCCLayerTreeHostClient fakeCCLayerTreeHostClient; |
OwnPtr<CCLayerTreeHost> ccLayerTreeHost = CCLayerTreeHost::create(&fakeCCLayerTreeHostClient, CCLayerTreeSettings()); |
+ ASSERT_TRUE(ccLayerTreeHost->initializeLayerRendererIfNeeded()); |
// Create two 300 x 300 tiled layers. |
IntSize contentBounds(300, 300); |
@@ -881,6 +882,7 @@ |
FakeCCLayerTreeHostClient fakeCCLayerTreeHostClient; |
OwnPtr<CCLayerTreeHost> ccLayerTreeHost = CCLayerTreeHost::create(&fakeCCLayerTreeHostClient, settings); |
+ ASSERT_TRUE(ccLayerTreeHost->initializeLayerRendererIfNeeded()); |
// Create one 500 x 300 tiled layer. |
IntSize contentBounds(300, 200); |