Index: cc/test/layer_tree_test.h |
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h |
index 619ae9648d59b0da0251399a4642ee2b7540c4cb..63abc3f9860fff539b66c391651f7392345ebe63 100644 |
--- a/cc/test/layer_tree_test.h |
+++ b/cc/test/layer_tree_test.h |
@@ -92,7 +92,7 @@ class TestHooks : public AnimationDelegate { |
base::TimeTicks monotonic_time, |
Animation::TargetProperty target_property) OVERRIDE {} |
- virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0; |
+ virtual void RequestNewOutputSurface(bool fallback) = 0; |
}; |
class BeginTask; |
@@ -181,8 +181,10 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
void DestroyLayerTreeHost(); |
+ // By default, output surface recreation is synchronous. |
+ virtual void RequestNewOutputSurface(bool fallback) OVERRIDE; |
// Override this for pixel tests, where you need a real output surface. |
- virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) OVERRIDE; |
+ virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback); |
// Override this for unit tests, which should not produce pixel output. |
virtual scoped_ptr<FakeOutputSurface> CreateFakeOutputSurface(bool fallback); |