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

Unified Diff: cc/test/render_pass_test_utils.cc

Issue 2297213003: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « cc/surfaces/surface_aggregator.cc ('k') | cc/test/surface_aggregator_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/render_pass_test_utils.cc
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc
index 8855c48da5f441d69189b289fde00fbf00e6e450..5cd619a4319ddbf7b56ed3d507df299a0c597b61 100644
--- a/cc/test/render_pass_test_utils.cc
+++ b/cc/test/render_pass_test_utils.cc
@@ -101,16 +101,9 @@ void AddRenderPassQuad(RenderPass* to_pass, RenderPass* contributing_pass) {
0);
RenderPassDrawQuad* quad =
to_pass->CreateAndAppendDrawQuad<RenderPassDrawQuad>();
- quad->SetNew(shared_state,
- output_rect,
- output_rect,
- contributing_pass->id,
- 0,
- gfx::Vector2dF(),
- gfx::Size(),
- FilterOperations(),
- gfx::Vector2dF(),
- FilterOperations());
+ quad->SetNew(shared_state, output_rect, output_rect, contributing_pass->id, 0,
+ gfx::Vector2dF(), gfx::Size(), FilterOperations(),
+ gfx::Vector2dF(), gfx::PointF(), FilterOperations());
}
void AddRenderPassQuad(RenderPass* to_pass,
@@ -132,15 +125,9 @@ void AddRenderPassQuad(RenderPass* to_pass,
RenderPassDrawQuad* quad =
to_pass->CreateAndAppendDrawQuad<RenderPassDrawQuad>();
gfx::Size arbitrary_nonzero_size(1, 1);
- quad->SetNew(shared_state,
- output_rect,
- output_rect,
- contributing_pass->id,
- mask_resource_id,
- gfx::Vector2dF(1.f, 1.f),
- arbitrary_nonzero_size,
- filters,
- gfx::Vector2dF(),
+ quad->SetNew(shared_state, output_rect, output_rect, contributing_pass->id,
+ mask_resource_id, gfx::Vector2dF(1.f, 1.f),
+ arbitrary_nonzero_size, filters, gfx::Vector2dF(), gfx::PointF(),
FilterOperations());
}
@@ -213,17 +200,17 @@ void AddOneOfEveryQuadType(RenderPass* to_pass,
if (child_pass.layer_id) {
RenderPassDrawQuad* render_pass_quad =
to_pass->CreateAndAppendDrawQuad<RenderPassDrawQuad>();
- render_pass_quad->SetNew(shared_state, rect, visible_rect, child_pass,
- resource5, gfx::Vector2dF(1.f, 1.f),
- resource5_size, FilterOperations(),
- gfx::Vector2dF(), FilterOperations());
+ render_pass_quad->SetNew(
+ shared_state, rect, visible_rect, child_pass, resource5,
+ gfx::Vector2dF(1.f, 1.f), resource5_size, FilterOperations(),
+ gfx::Vector2dF(), gfx::PointF(), FilterOperations());
RenderPassDrawQuad* render_pass_replica_quad =
to_pass->CreateAndAppendDrawQuad<RenderPassDrawQuad>();
render_pass_replica_quad->SetNew(
shared_state, rect, visible_rect, child_pass, resource5,
gfx::Vector2dF(1.f, 1.f), resource5_size, FilterOperations(),
- gfx::Vector2dF(), FilterOperations());
+ gfx::Vector2dF(), gfx::PointF(), FilterOperations());
}
SolidColorDrawQuad* solid_color_quad =
« no previous file with comments | « cc/surfaces/surface_aggregator.cc ('k') | cc/test/surface_aggregator_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698