| Index: cc/trees/quad_culler.cc
|
| diff --git a/cc/trees/quad_culler.cc b/cc/trees/quad_culler.cc
|
| index 9ff2dcc9a0bb10467da9fa941fea97557985f6ea..f4a8e27c93220e7f317b7ff12f1f0d36198c6548 100644
|
| --- a/cc/trees/quad_culler.cc
|
| +++ b/cc/trees/quad_culler.cc
|
| @@ -84,17 +84,14 @@ bool QuadCuller::Append(scoped_ptr<DrawQuad> draw_quad,
|
| DCHECK(shared_quad_state_list_->back() == current_shared_quad_state_);
|
|
|
| gfx::Rect culled_rect;
|
| - bool impl_draw_transform_is_unknown = false;
|
| -
|
| if (for_surface_) {
|
| culled_rect = occlusion_tracker_.UnoccludedContributingSurfaceContentRect(
|
| layer_, false, draw_quad->visible_rect);
|
| } else {
|
| - culled_rect = occlusion_tracker_.UnoccludedContentRect(
|
| - layer_->render_target(),
|
| - draw_quad->visible_rect,
|
| - draw_quad->quadTransform(),
|
| - impl_draw_transform_is_unknown);
|
| + culled_rect =
|
| + occlusion_tracker_.UnoccludedContentRect(layer_->render_target(),
|
| + draw_quad->visible_rect,
|
| + draw_quad->quadTransform());
|
| }
|
|
|
| return AppendQuadInternal(draw_quad.Pass(),
|
|
|