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

Unified Diff: cc/surfaces/surface_display_output_surface.cc

Issue 2009443002: Revert of Consolidate OutputSurface constructors into GL vs Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « cc/output/renderer_unittest.cc ('k') | cc/test/failure_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_display_output_surface.cc
diff --git a/cc/surfaces/surface_display_output_surface.cc b/cc/surfaces/surface_display_output_surface.cc
index d2093ac026a8de76ea6b87fbdcdff878f284b2d1..749791ef0de34c2a59c73409dbb9915b63cc437c 100644
--- a/cc/surfaces/surface_display_output_surface.cc
+++ b/cc/surfaces/surface_display_output_surface.cc
@@ -20,8 +20,7 @@
scoped_refptr<ContextProvider> context_provider,
scoped_refptr<ContextProvider> worker_context_provider)
: OutputSurface(std::move(context_provider),
- std::move(worker_context_provider),
- nullptr),
+ std::move(worker_context_provider)),
display_client_(nullptr),
factory_(surface_manager, this),
allocator_(allocator) {
@@ -38,8 +37,11 @@
SurfaceManager* surface_manager,
SurfaceIdAllocator* allocator,
scoped_refptr<VulkanContextProvider> vulkan_context_provider)
- : OutputSurface(std::move(vulkan_context_provider)),
- display_client_(nullptr),
+ : OutputSurface(nullptr,
+ nullptr,
+ std::move(vulkan_context_provider),
+ nullptr),
+ display_client_(NULL),
factory_(surface_manager, this),
allocator_(allocator) {
capabilities_.delegated_rendering = true;
« no previous file with comments | « cc/output/renderer_unittest.cc ('k') | cc/test/failure_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698