| Index: cc/quads/draw_quad.cc
|
| diff --git a/cc/quads/draw_quad.cc b/cc/quads/draw_quad.cc
|
| index 0bdcdc7a0a9ac9f5ebeea747aff62b1ccad00971..f9bf6fc5874520ae35686b280f848a264fdaabe2 100644
|
| --- a/cc/quads/draw_quad.cc
|
| +++ b/cc/quads/draw_quad.cc
|
| @@ -63,7 +63,7 @@ void DrawQuad::AsValueInto(base::trace_event::TracedValue* value) const {
|
| bool rect_is_clipped;
|
| gfx::QuadF rect_as_target_space_quad =
|
| MathUtil::MapQuad(shared_quad_state->quad_to_target_transform,
|
| - gfx::QuadF(rect), &rect_is_clipped);
|
| + gfx::QuadF(gfx::RectF(rect)), &rect_is_clipped);
|
| MathUtil::AddToTracedValue("rect_as_target_space_quad",
|
| rect_as_target_space_quad, value);
|
|
|
| @@ -72,9 +72,9 @@ void DrawQuad::AsValueInto(base::trace_event::TracedValue* value) const {
|
| MathUtil::AddToTracedValue("content_space_opaque_rect", opaque_rect, value);
|
|
|
| bool opaque_rect_is_clipped;
|
| - gfx::QuadF opaque_rect_as_target_space_quad =
|
| - MathUtil::MapQuad(shared_quad_state->quad_to_target_transform,
|
| - gfx::QuadF(opaque_rect), &opaque_rect_is_clipped);
|
| + gfx::QuadF opaque_rect_as_target_space_quad = MathUtil::MapQuad(
|
| + shared_quad_state->quad_to_target_transform,
|
| + gfx::QuadF(gfx::RectF(opaque_rect)), &opaque_rect_is_clipped);
|
| MathUtil::AddToTracedValue("opaque_rect_as_target_space_quad",
|
| opaque_rect_as_target_space_quad, value);
|
|
|
| @@ -83,9 +83,9 @@ void DrawQuad::AsValueInto(base::trace_event::TracedValue* value) const {
|
| MathUtil::AddToTracedValue("content_space_visible_rect", visible_rect, value);
|
|
|
| bool visible_rect_is_clipped;
|
| - gfx::QuadF visible_rect_as_target_space_quad =
|
| - MathUtil::MapQuad(shared_quad_state->quad_to_target_transform,
|
| - gfx::QuadF(visible_rect), &visible_rect_is_clipped);
|
| + gfx::QuadF visible_rect_as_target_space_quad = MathUtil::MapQuad(
|
| + shared_quad_state->quad_to_target_transform,
|
| + gfx::QuadF(gfx::RectF(visible_rect)), &visible_rect_is_clipped);
|
|
|
| MathUtil::AddToTracedValue("visible_rect_as_target_space_quad",
|
| visible_rect_as_target_space_quad, value);
|
|
|