| Index: cc/test/mock_quad_culler.cc
|
| diff --git a/cc/test/mock_quad_culler.cc b/cc/test/mock_quad_culler.cc
|
| index d15f126aed5fc79b51fb756e21259abe58bb8378..1f76f7da7268c9c83b0b1bb216e4a3318e77855a 100644
|
| --- a/cc/test/mock_quad_culler.cc
|
| +++ b/cc/test/mock_quad_culler.cc
|
| @@ -30,6 +30,16 @@ SharedQuadState* MockQuadCuller::UseSharedQuadState(
|
| gfx::Rect MockQuadCuller::UnoccludedContentRect(
|
| const gfx::Rect& content_rect,
|
| const gfx::Transform& draw_transform) {
|
| + DCHECK(draw_transform.IsIdentity());
|
| + gfx::Rect result = content_rect;
|
| + result.Subtract(occluded_content_rect_);
|
| + return result;
|
| +}
|
| +
|
| +gfx::Rect MockQuadCuller::UnoccludedContributingSurfaceContentRect(
|
| + gfx::Rect& content_rect,
|
| + gfx::Transform& draw_transform) {
|
| + DCHECK(draw_transform.IsIdentity());
|
| gfx::Rect result = content_rect;
|
| result.Subtract(occluded_content_rect_);
|
| return result;
|
|
|