diff options
Diffstat (limited to 'cc/render_surface.cc')
-rw-r--r-- | cc/render_surface.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cc/render_surface.cc b/cc/render_surface.cc index f8005af..cac1d65 100644 --- a/cc/render_surface.cc +++ b/cc/render_surface.cc @@ -14,7 +14,7 @@ using WebKit::WebTransformationMatrix; namespace cc { -RenderSurfaceChromium::RenderSurfaceChromium(LayerChromium* owningLayer) +RenderSurface::RenderSurface(Layer* owningLayer) : m_owningLayer(owningLayer) , m_drawOpacity(1) , m_drawOpacityIsAnimating(false) @@ -24,15 +24,15 @@ RenderSurfaceChromium::RenderSurfaceChromium(LayerChromium* owningLayer) { } -RenderSurfaceChromium::~RenderSurfaceChromium() +RenderSurface::~RenderSurface() { } -FloatRect RenderSurfaceChromium::drawableContentRect() const +FloatRect RenderSurface::drawableContentRect() const { - FloatRect drawableContentRect = CCMathUtil::mapClippedRect(m_drawTransform, m_contentRect); + FloatRect drawableContentRect = MathUtil::mapClippedRect(m_drawTransform, m_contentRect); if (m_owningLayer->hasReplica()) - drawableContentRect.unite(CCMathUtil::mapClippedRect(m_replicaDrawTransform, m_contentRect)); + drawableContentRect.unite(MathUtil::mapClippedRect(m_replicaDrawTransform, m_contentRect)); return drawableContentRect; } |