Index: components/html_viewer/html_document.cc |
diff --git a/components/html_viewer/html_document.cc b/components/html_viewer/html_document.cc |
index 462313fdc32523ee14c7c5c368e1d0791e991453..b17367c0d0768c89a86eaa6893f090a2d8a10c59 100644 |
--- a/components/html_viewer/html_document.cc |
+++ b/components/html_viewer/html_document.cc |
@@ -290,7 +290,7 @@ blink::WebStorageNamespace* HTMLDocument::createSessionStorageNamespace() { |
void HTMLDocument::initializeLayerTreeView() { |
if (setup_->is_headless()) { |
web_layer_tree_view_impl_.reset(new WebLayerTreeViewImpl( |
- setup_->compositor_thread(), nullptr, nullptr)); |
+ setup_->compositor_thread(), nullptr, nullptr, nullptr, nullptr)); |
return; |
} |
@@ -305,7 +305,9 @@ void HTMLDocument::initializeLayerTreeView() { |
mojo::GpuPtr gpu_service; |
html_document_app_->ConnectToService(request2.Pass(), &gpu_service); |
web_layer_tree_view_impl_.reset(new WebLayerTreeViewImpl( |
- setup_->compositor_thread(), surface.Pass(), gpu_service.Pass())); |
+ setup_->compositor_thread(), setup_->gpu_memory_buffer_manager(), |
+ setup_->raster_thread_helper()->task_graph_runner(), surface.Pass(), |
+ gpu_service.Pass())); |
} |
blink::WebLayerTreeView* HTMLDocument::layerTreeView() { |