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

Unified Diff: components/mus/public/cpp/lib/output_surface.cc

Issue 2002303002: Consolidate OutputSurface constructors into GL vs Vulkan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: outputsurface-constructors: rebase-and-fixcrash 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
Index: components/mus/public/cpp/lib/output_surface.cc
diff --git a/components/mus/public/cpp/lib/output_surface.cc b/components/mus/public/cpp/lib/output_surface.cc
index 68f98f32e71245c1a296fce40e0bef1b962c38be..eab48d8d0cd1350387e0e09c6320cfedc9aa78c6 100644
--- a/components/mus/public/cpp/lib/output_surface.cc
+++ b/components/mus/public/cpp/lib/output_surface.cc
@@ -16,7 +16,8 @@ namespace mus {
OutputSurface::OutputSurface(
const scoped_refptr<cc::ContextProvider>& context_provider,
std::unique_ptr<mus::WindowSurface> surface)
- : cc::OutputSurface(context_provider), surface_(std::move(surface)) {
+ : cc::OutputSurface(context_provider, nullptr, nullptr),
+ surface_(std::move(surface)) {
capabilities_.delegated_rendering = true;
}
« no previous file with comments | « components/display_compositor/buffer_queue_unittest.cc ('k') | components/mus/surfaces/direct_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698