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

Unified Diff: content/renderer/android/synchronous_compositor_frame_sink.cc

Issue 2543473004: cc: Move filters from RenderPassDrawQuad to RenderPass (Closed)
Patch Set: Address review comments 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
Index: content/renderer/android/synchronous_compositor_frame_sink.cc
diff --git a/content/renderer/android/synchronous_compositor_frame_sink.cc b/content/renderer/android/synchronous_compositor_frame_sink.cc
index fd683c1199015225cb563e29d8562c916080554b..5435d092f33cc58288de5ff243318302a1a2493a 100644
--- a/content/renderer/android/synchronous_compositor_frame_sink.cc
+++ b/content/renderer/android/synchronous_compositor_frame_sink.cc
@@ -272,8 +272,9 @@ void SynchronousCompositorFrameSink::SubmitCompositorFrame(
// The embedding RenderPass covers the entire Display's area.
const auto& embed_render_pass = embed_frame.render_pass_list.back();
- embed_render_pass->SetAll(cc::RenderPassId(1, 1), gfx::Rect(display_size),
- gfx::Rect(display_size), gfx::Transform(), false);
+ embed_render_pass->SetNew(cc::RenderPassId(1, 1), gfx::Rect(display_size),
+ gfx::Rect(display_size), gfx::Transform());
+ embed_render_pass->has_transparent_background = false;
// The RenderPass has a single SurfaceDrawQuad (and SharedQuadState for it).
auto* shared_quad_state =

Powered by Google App Engine
This is Rietveld 408576698