Index: cc/debug_rect_history.cc |
diff --git a/cc/debug_rect_history.cc b/cc/debug_rect_history.cc |
index 455f354b6debc1ce3fa17f6e185586831003bfaf..293ea58a91aa61557bb0affb83a999f2e20e15dd 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 |