| Index: Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp (revision 122256)
|
| +++ Source/WebCore/platform/graphics/chromium/cc/CCSingleThreadProxy.cpp (working copy)
|
| @@ -344,11 +344,12 @@
|
| {
|
| ASSERT(CCProxy::isMainThread());
|
|
|
| + if (!m_layerTreeHost->initializeLayerRendererIfNeeded())
|
| + return false;
|
| +
|
| CCTextureUpdater updater;
|
| + m_layerTreeHost->updateLayers(updater);
|
|
|
| - if (!m_layerTreeHost->updateLayers(updater))
|
| - return false;
|
| -
|
| m_layerTreeHost->willCommit();
|
| doCommit(updater);
|
| bool result = doComposite();
|
|
|