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

Unified Diff: cc/surfaces/surface_aggregator.cc

Issue 2804953008: cc: Make surface aggregator convert surface quad to RPDQ correctly (Closed)
Patch Set: Revert "Add unit test." Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_aggregator.cc
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
index a1d015f7cc021d28c07adcbbe98fbb5db48e7726..db1366da53cac0239eb0d95bb097ebc17893b0e7 100644
--- a/cc/surfaces/surface_aggregator.cc
+++ b/cc/surfaces/surface_aggregator.cc
@@ -333,7 +333,8 @@ void SurfaceAggregator::HandleSurfaceQuad(
dest_pass->CreateAndAppendDrawQuad<RenderPassDrawQuad>();
quad->SetNew(shared_quad_state, surface_quad->rect,
surface_quad->visible_rect, remapped_pass_id, 0, gfx::RectF(),
- gfx::Size(), gfx::Vector2dF(), gfx::PointF(), gfx::RectF());
+ gfx::Size(), gfx::Vector2dF(), gfx::PointF(),
+ gfx::RectF(surface_quad->rect));
}
referenced_surfaces_.erase(it);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698