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

Unified Diff: content/browser/renderer_host/compositor_impl_android.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: content/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 2aedd74644820bde8e48c672a815b43d9ef5912d..fb04a19fc5b1e59effe377f1dfea241d299a9f6f 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -139,11 +139,11 @@ class OutputSurfaceWithoutParent : public cc::OutputSurface,
public:
OutputSurfaceWithoutParent(
CompositorImpl* compositor,
- const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
+ scoped_refptr<ContextProviderCommandBuffer> context_provider,
const base::Callback<void(gpu::Capabilities)>&
populate_gpu_capabilities_callback,
std::unique_ptr<ExternalBeginFrameSource> begin_frame_source)
- : cc::OutputSurface(context_provider),
+ : cc::OutputSurface(std::move(context_provider), nullptr, nullptr),
compositor_(compositor),
populate_gpu_capabilities_callback_(populate_gpu_capabilities_callback),
swap_buffers_completion_callback_(
« no previous file with comments | « content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698