Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: components/html_viewer/html_document.cc

Issue 1181013010: Support impl-side painting in Mandoline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit warning Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698