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

Unified Diff: android_webview/browser/surfaces_instance.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 | « no previous file | cc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/surfaces_instance.cc
diff --git a/android_webview/browser/surfaces_instance.cc b/android_webview/browser/surfaces_instance.cc
index b796730f1e8b079cbb66f3a03037b5bb3f77f5ca..d7b2647c52e4b0ef0b6dc68874fa3dbf9c450bb8 100644
--- a/android_webview/browser/surfaces_instance.cc
+++ b/android_webview/browser/surfaces_instance.cc
@@ -66,12 +66,12 @@ SurfacesInstance::SurfacesInstance()
begin_frame_source.get(), nullptr,
output_surface_holder->capabilities().max_frames_pending));
display_.reset(new cc::Display(
- surface_manager_.get(), nullptr /* shared_bitmap_manager */,
+ nullptr /* shared_bitmap_manager */,
nullptr /* gpu_memory_buffer_manager */, settings,
- surface_id_allocator_->client_id(), std::move(begin_frame_source),
- std::move(output_surface_holder), std::move(scheduler),
- std::move(texture_mailbox_deleter)));
- display_->Initialize(this);
+ std::move(begin_frame_source), std::move(output_surface_holder),
+ std::move(scheduler), std::move(texture_mailbox_deleter)));
+ display_->Initialize(this, surface_manager_.get(),
+ surface_id_allocator_->client_id());
surface_factory_.reset(new cc::SurfaceFactory(surface_manager_.get(), this));
« no previous file with comments | « no previous file | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698