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

Unified Diff: content/browser/compositor/mus_browser_compositor_output_surface.cc

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Rebase again Created 4 years 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 | « components/exo/surface.cc ('k') | content/renderer/android/synchronous_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/mus_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/mus_browser_compositor_output_surface.cc b/content/browser/compositor/mus_browser_compositor_output_surface.cc
index 933ea158eca0d6becd3ef4d69fa85df725634997..ef3f66a41d886a06bf93384a4918676fab673388 100644
--- a/content/browser/compositor/mus_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/mus_browser_compositor_output_surface.cc
@@ -78,9 +78,7 @@ void MusBrowserCompositorOutputSurface::SwapBuffers(
frame.latency_info.clear();
const int render_pass_id = 1;
std::unique_ptr<cc::RenderPass> pass = cc::RenderPass::Create();
- const bool has_transparent_background = true;
- pass->SetAll(render_pass_id, bounds, bounds, gfx::Transform(),
- has_transparent_background);
+ pass->SetNew(render_pass_id, bounds, bounds, gfx::Transform());
// The SharedQuadState is owned by the SharedQuadStateList
// shared_quad_state_list.
cc::SharedQuadState* sqs = pass->CreateAndAppendSharedQuadState();
« no previous file with comments | « components/exo/surface.cc ('k') | content/renderer/android/synchronous_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698