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

Unified Diff: content/renderer/android/synchronous_compositor_output_surface.cc

Issue 2144393003: cc: Allow TestDelegatingOutputSurface to be used for non-pixel tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/android/synchronous_compositor_output_surface.cc
diff --git a/content/renderer/android/synchronous_compositor_output_surface.cc b/content/renderer/android/synchronous_compositor_output_surface.cc
index 993f1ece18d7d80e055307ba9710e7f2f4860c71..f01d082214ed6e62aa108165c91697b941bce016 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.cc
+++ b/content/renderer/android/synchronous_compositor_output_surface.cc
@@ -153,13 +153,14 @@ bool SynchronousCompositorOutputSurface::BindToClient(
// resources are included in the frame swapped from the compositor. So there
// is no need for these.
display_.reset(new cc::Display(
- surface_manager_.get(), nullptr /* shared_bitmap_manager */,
+ nullptr /* shared_bitmap_manager */,
nullptr /* gpu_memory_buffer_manager */, software_renderer_settings,
- surface_id_allocator_->client_id(), nullptr /* begin_frame_source */,
+ nullptr /* begin_frame_source */,
base::MakeUnique<SoftwareOutputSurface>(
base::MakeUnique<SoftwareDevice>(&current_sw_canvas_)),
nullptr /* scheduler */, nullptr /* texture_mailbox_deleter */));
- display_->Initialize(&display_client_);
+ display_->Initialize(&display_client_, surface_manager_.get(),
+ surface_id_allocator_->client_id());
return true;
}
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/test/layouttest_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698