| Index: components/html_viewer/web_layer_tree_view_impl.cc
|
| diff --git a/components/html_viewer/web_layer_tree_view_impl.cc b/components/html_viewer/web_layer_tree_view_impl.cc
|
| index 8acb806348efc508ea14e4a115809d2aee803e97..9d54f7e8a69097ee655637897219c9acfa22195b 100644
|
| --- a/components/html_viewer/web_layer_tree_view_impl.cc
|
| +++ b/components/html_viewer/web_layer_tree_view_impl.cc
|
| @@ -63,16 +63,12 @@
|
|
|
| if (surface && gpu_service) {
|
| mojo::CommandBufferPtr cb;
|
| - mojo::CommandBufferPtr worker_cb;
|
| gpu_service->CreateOffscreenGLES2Context(GetProxy(&cb));
|
| - gpu_service->CreateOffscreenGLES2Context(GetProxy(&worker_cb));
|
| scoped_refptr<cc::ContextProvider> context_provider(
|
| new mojo::ContextProviderMojo(cb.PassInterface().PassHandle()));
|
| - scoped_refptr<cc::ContextProvider> worker_context_provider(
|
| - new mojo::ContextProviderMojo(worker_cb.PassInterface().PassHandle()));
|
| - output_surface_.reset(new mojo::OutputSurfaceMojo(
|
| - this, context_provider, worker_context_provider,
|
| - surface.PassInterface().PassHandle()));
|
| + output_surface_.reset(
|
| + new mojo::OutputSurfaceMojo(this, context_provider,
|
| + surface.PassInterface().PassHandle()));
|
| }
|
| layer_tree_host_->SetLayerTreeHostClientReady();
|
| }
|
|
|