Index: cc/layer_tree_host.cc |
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc |
index 531eab6e8d881d39896443e1291f641e40139440..2546419d9278d65670d973d66f4d8b2212974dc0 100644 |
--- a/cc/layer_tree_host.cc |
+++ b/cc/layer_tree_host.cc |
@@ -36,8 +36,6 @@ static int numLayerTreeInstances; |
namespace cc { |
-bool LayerTreeHost::s_needsFilterContext = false; |
- |
RendererCapabilities::RendererCapabilities() |
: bestTextureFormat(0) |
, usingPartialSwap(false) |
@@ -48,6 +46,7 @@ RendererCapabilities::RendererCapabilities() |
, usingDiscardBackbuffer(false) |
, usingEglImage(false) |
, allowPartialTextureUpdates(false) |
+ , usingOffscreenContext3d(false) |
, maxTextureSize(0) |
, avoidPow2Textures(false) |
{ |
@@ -73,6 +72,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 +183,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++; |