diff options
Diffstat (limited to 'cc/draw_quad.cc')
-rw-r--r-- | cc/draw_quad.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/draw_quad.cc b/cc/draw_quad.cc index e350c69..13a1c45 100644 --- a/cc/draw_quad.cc +++ b/cc/draw_quad.cc @@ -43,8 +43,7 @@ gfx::Rect DrawQuad::opaqueRect() const void DrawQuad::setQuadVisibleRect(gfx::Rect quadVisibleRect) { - m_quadVisibleRect = quadVisibleRect; - m_quadVisibleRect.Intersect(m_quadRect); + m_quadVisibleRect = gfx::IntersectRects(quadVisibleRect, m_quadRect); } unsigned DrawQuad::size() const |