diff options
Diffstat (limited to 'cc/render_surface.cc')
-rw-r--r-- | cc/render_surface.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/render_surface.cc b/cc/render_surface.cc index cac1d65..3662800 100644 --- a/cc/render_surface.cc +++ b/cc/render_surface.cc @@ -28,11 +28,11 @@ RenderSurface::~RenderSurface() { } -FloatRect RenderSurface::drawableContentRect() const +gfx::RectF RenderSurface::drawableContentRect() const { - FloatRect drawableContentRect = MathUtil::mapClippedRect(m_drawTransform, m_contentRect); + gfx::RectF drawableContentRect = MathUtil::mapClippedRect(m_drawTransform, m_contentRect); if (m_owningLayer->hasReplica()) - drawableContentRect.unite(MathUtil::mapClippedRect(m_replicaDrawTransform, m_contentRect)); + drawableContentRect.Union(MathUtil::mapClippedRect(m_replicaDrawTransform, m_contentRect)); return drawableContentRect; } |