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

Unified Diff: Source/core/rendering/svg/RenderSVGPath.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
Index: Source/core/rendering/svg/RenderSVGPath.cpp
diff --git a/Source/core/rendering/svg/RenderSVGPath.cpp b/Source/core/rendering/svg/RenderSVGPath.cpp
index a6344ec8aeae9892b7eb8c974b7cec8464798d1b..eb99347d581f21c2dbc0ea00d6bb2ec34464fecf 100644
--- a/Source/core/rendering/svg/RenderSVGPath.cpp
+++ b/Source/core/rendering/svg/RenderSVGPath.cpp
@@ -121,7 +121,7 @@ FloatRect RenderSVGPath::markerRect(float strokeWidth) const
{
ASSERT(!m_markerPositions.isEmpty());
- SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this);
+ SVGResources* resources = SVGResourcesCache::cachedResourcesForLayoutObject(this);
ASSERT(resources);
RenderSVGResourceMarker* markerStart = resources->markerStart();
@@ -146,7 +146,7 @@ bool RenderSVGPath::shouldGenerateMarkerPositions() const
if (!SVGResources::supportsMarkers(*toSVGGraphicsElement(element())))
return false;
- SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this);
+ SVGResources* resources = SVGResourcesCache::cachedResourcesForLayoutObject(this);
if (!resources)
return false;
@@ -160,7 +160,7 @@ void RenderSVGPath::processMarkerPositions()
if (!shouldGenerateMarkerPositions())
return;
- SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this);
+ SVGResources* resources = SVGResourcesCache::cachedResourcesForLayoutObject(this);
ASSERT(resources);
RenderSVGResourceMarker* markerStart = resources->markerStart();
« no previous file with comments | « Source/core/rendering/svg/RenderSVGModelObject.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceClipper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698