| Index: content/test/web_layer_tree_view_impl_for_testing.cc
|
| diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
|
| index ffe67d780eaebeb1f7e3bcd2080d80e16fad614d..c8dd325757b69fef0654b7adecb97da02333d53f 100644
|
| --- a/content/test/web_layer_tree_view_impl_for_testing.cc
|
| +++ b/content/test/web_layer_tree_view_impl_for_testing.cc
|
| @@ -142,10 +142,10 @@ void WebLayerTreeViewImplForTesting::ApplyViewportDeltas(
|
| float page_scale,
|
| float top_controls_delta) {}
|
|
|
| -scoped_ptr<cc::OutputSurface>
|
| -WebLayerTreeViewImplForTesting::CreateOutputSurface(bool fallback) {
|
| - return make_scoped_ptr(
|
| - new cc::OutputSurface(cc::TestContextProvider::Create()));
|
| +void WebLayerTreeViewImplForTesting::RequestNewOutputSurface(
|
| + bool fallback) {
|
| + layer_tree_host_->SetOutputSurface(make_scoped_ptr(
|
| + new cc::OutputSurface(cc::TestContextProvider::Create())));
|
| }
|
|
|
| void WebLayerTreeViewImplForTesting::registerViewportLayers(
|
|
|