Chromium Code Reviews| Index: cc/debug/debug_rect_history.cc |
| diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc |
| index 2f01f4a84365f1f9d4c14521ffd7cbd57b5da693..b6168e9eeefa652da635df2140574906ad96552b 100644 |
| --- a/cc/debug/debug_rect_history.cc |
| +++ b/cc/debug/debug_rect_history.cc |
| @@ -112,9 +112,9 @@ void DebugRectHistory::SavePropertyChangedRects( |
| if (layer->LayerPropertyChanged()) { |
| debug_rects_.push_back( |
| DebugRect(PROPERTY_CHANGED_RECT_TYPE, |
| - MathUtil::MapEnclosingClippedRect( |
| + MathUtil::MapClippedRect( |
|
enne (OOO)
2014/02/11 23:25:22
This is just a drive-by? Maybe stick it in a diffe
danakj
2014/02/11 23:31:00
This was not meant to be here.. it was a mistake i
|
| layer->screen_space_transform(), |
| - gfx::Rect(layer->content_bounds())))); |
| + gfx::RectF(gfx::PointF(), layer->content_bounds())))); |
| } |
| } |
| } |
| @@ -238,10 +238,7 @@ void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) { |
| void DebugRectHistory::SaveLayerAnimationBoundsRects( |
| const LayerImplList& render_surface_layer_list) { |
| - typedef LayerIterator<LayerImpl, |
| - LayerImplList, |
| - RenderSurfaceImpl, |
| - LayerIteratorActions::FrontToBack> LayerIteratorType; |
| + typedef LayerIterator<LayerImpl> LayerIteratorType; |
| LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list); |
| for (LayerIteratorType it = |
| LayerIteratorType::Begin(&render_surface_layer_list); |