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 94ddc55a7ed9a6718b39301be85482841dc9f18a..ff843355472f8ef91a10e7b2648639af2a2eb769 100644 |
--- a/components/html_viewer/web_layer_tree_view_impl.cc |
+++ b/components/html_viewer/web_layer_tree_view_impl.cc |
@@ -54,7 +54,7 @@ WebLayerTreeViewImpl::WebLayerTreeViewImpl( |
mojo::CommandBufferPtr cb; |
gpu_service->CreateOffscreenGLES2Context(GetProxy(&cb)); |
scoped_refptr<cc::ContextProvider> context_provider( |
- new mojo::ContextProviderMojo(cb.PassMessagePipe())); |
+ new mojo::ContextProviderMojo(cb.PassInterface().PassHandle())); |
output_surface_.reset( |
new mojo::OutputSurfaceMojo(this, context_provider, surface.Pass())); |
} |