summaryrefslogtreecommitdiffstats
path: root/cc/debug_rect_history.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/debug_rect_history.cc')
-rw-r--r--cc/debug_rect_history.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/debug_rect_history.cc b/cc/debug_rect_history.cc
index 455f354..293ea58 100644
--- a/cc/debug_rect_history.cc
+++ b/cc/debug_rect_history.cc
@@ -117,7 +117,7 @@ void DebugRectHistory::saveScreenSpaceRects(const std::vector<LayerImpl* >& rend
void DebugRectHistory::saveOccludingRects(const std::vector<gfx::Rect>& occludingRects)
{
for (size_t i = 0; i < occludingRects.size(); ++i)
- m_debugRects.push_back(DebugRect(OccludingRectType, cc::FloatRect(occludingRects[i])));
+ m_debugRects.push_back(DebugRect(OccludingRectType, occludingRects[i]));
}
} // namespace cc