| Index: cc/trees/damage_tracker.cc
|
| diff --git a/cc/trees/damage_tracker.cc b/cc/trees/damage_tracker.cc
|
| index 866f09d65692388c8e508d3456ed35054dd49d1b..235dfcfd7ef6ea316a244b31122314dfacdf2ed3 100644
|
| --- a/cc/trees/damage_tracker.cc
|
| +++ b/cc/trees/damage_tracker.cc
|
| @@ -283,8 +283,7 @@ void DamageTracker::ExtendDamageForLayer(LayerImpl* layer,
|
| RectMapData& data = RectDataForLayer(layer->id(), &layer_is_new);
|
| gfx::Rect old_rect_in_target_space = data.rect_;
|
|
|
| - gfx::Rect rect_in_target_space = MathUtil::MapEnclosingClippedRect(
|
| - layer->draw_transform(), gfx::Rect(layer->content_bounds()));
|
| + gfx::Rect rect_in_target_space = layer->GetEnclosingRectInTargetSpace();
|
| data.Update(rect_in_target_space, mailboxId_);
|
|
|
| gfx::RectF damage_rect =
|
|
|