| Index: cc/layer_tree_host.cc
|
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
|
| index cc08d55e19ad9c6f76a6fd9ab24871d61bd3e94d..a6ad564678f5a12b0dfd91de6f2cb754cfe47175 100644
|
| --- a/cc/layer_tree_host.cc
|
| +++ b/cc/layer_tree_host.cc
|
| @@ -37,8 +37,6 @@ static int numLayerTreeInstances;
|
|
|
| namespace cc {
|
|
|
| -bool LayerTreeHost::s_needsFilterContext = false;
|
| -
|
| RendererCapabilities::RendererCapabilities()
|
| : bestTextureFormat(0)
|
| , usingPartialSwap(false)
|
| @@ -73,6 +71,7 @@ scoped_ptr<LayerTreeHost> LayerTreeHost::create(LayerTreeHostClient* client, con
|
| LayerTreeHost::LayerTreeHost(LayerTreeHostClient* client, const LayerTreeSettings& settings)
|
| : m_animating(false)
|
| , m_needsFullTreeSync(true)
|
| + , m_needsFilterContext(false)
|
| , m_client(client)
|
| , m_commitNumber(0)
|
| , m_renderingStats()
|
| @@ -183,6 +182,8 @@ LayerTreeHost::RecreateResult LayerTreeHost::recreateOutputSurface()
|
| return RecreateSucceeded;
|
| }
|
|
|
| + m_client->willRetryRecreateOutputSurface();
|
| +
|
| // Tolerate a certain number of recreation failures to work around races
|
| // in the output-surface-lost machinery.
|
| m_numFailedRecreateAttempts++;
|
|
|