Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: Source/core/svg/graphics/SVGImageCache.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/graphics/SVGImageCache.h ('k') | Source/core/svg/graphics/filters/SVGFEImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/SVGImageCache.cpp
diff --git a/Source/core/svg/graphics/SVGImageCache.cpp b/Source/core/svg/graphics/SVGImageCache.cpp
index 5e531c84aa90e024e7c4bd526e635cef67d4736b..f68e134f72166d76324b6ece3f905a847d46051c 100644
--- a/Source/core/svg/graphics/SVGImageCache.cpp
+++ b/Source/core/svg/graphics/SVGImageCache.cpp
@@ -62,7 +62,7 @@ void SVGImageCache::setContainerSizeForRenderer(const ImageResourceClient* clien
m_imageForContainerMap.set(client, SVGImageForContainer::create(m_svgImage, containerSizeWithoutZoom, containerZoom));
}
-IntSize SVGImageCache::imageSizeForRenderer(const RenderObject* renderer) const
+IntSize SVGImageCache::imageSizeForRenderer(const LayoutObject* renderer) const
{
IntSize imageSize = m_svgImage->size();
if (!renderer)
@@ -79,7 +79,7 @@ IntSize SVGImageCache::imageSizeForRenderer(const RenderObject* renderer) const
// FIXME: This doesn't take into account the animation timeline so animations will not
// restart on page load, nor will two animations in different pages have different timelines.
-Image* SVGImageCache::imageForRenderer(const RenderObject* renderer)
+Image* SVGImageCache::imageForRenderer(const LayoutObject* renderer)
{
if (!renderer)
return Image::nullImage();
« no previous file with comments | « Source/core/svg/graphics/SVGImageCache.h ('k') | Source/core/svg/graphics/filters/SVGFEImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698