Index: cc/trees/layer_tree_host_unittest_no_message_loop.cc |
diff --git a/cc/trees/layer_tree_host_unittest_no_message_loop.cc b/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
index 80162187c2590f76286e0a868ee795dcf33faab0..862f34bb60af57f7a33cae1eb63b1853d35b3ce4 100644 |
--- a/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
+++ b/cc/trees/layer_tree_host_unittest_no_message_loop.cc |
@@ -60,9 +60,9 @@ class LayerTreeHostNoMessageLoopTest |
virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, |
float page_scale, |
float top_controls_delta) OVERRIDE {} |
- virtual scoped_ptr<OutputSurface> CreateOutputSurface( |
- bool fallback) OVERRIDE { |
- return make_scoped_ptr<OutputSurface>(new NoMessageLoopOutputSurface); |
+ virtual void RequestNewOutputSurface(bool fallback) OVERRIDE { |
+ layer_tree_host_->SetOutputSurface( |
+ make_scoped_ptr<OutputSurface>(new NoMessageLoopOutputSurface)); |
} |
virtual void DidInitializeOutputSurface() OVERRIDE { |
did_initialize_output_surface_ = true; |