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

Unified Diff: components/exo/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
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index 88e6ad038039c541d0f139953c7f4c0c447df4f8..b268d2f5f46ea792ddcd7e62fd396a40368e4cd9 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -706,8 +706,8 @@ void Surface::UpdateSurface(bool full_damage) {
const int kRenderPassId = 1;
std::unique_ptr<cc::RenderPass> render_pass = cc::RenderPass::Create();
- render_pass->SetAll(kRenderPassId, gfx::Rect(contents_surface_size),
- damage_rect, gfx::Transform(), true);
+ render_pass->SetNew(kRenderPassId, gfx::Rect(contents_surface_size),
+ damage_rect, gfx::Transform());
gfx::Rect quad_rect = gfx::Rect(contents_surface_size);
cc::SharedQuadState* quad_state =
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | content/browser/compositor/mus_browser_compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698