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

Unified Diff: Source/core/rendering/svg/RenderSVGResourcePattern.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/rendering/svg/RenderSVGResourcePattern.h ('k') | Source/core/rendering/svg/RenderSVGRoot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGResourcePattern.cpp
diff --git a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp
index 0b7520d1b2653c16c3c95ffe06a1a378fae217c7..6f65351d5fb58a6cb05e2224c6e57b3600c32d5e 100644
--- a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp
+++ b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp
@@ -56,14 +56,14 @@ void RenderSVGResourcePattern::removeAllClientsFromCache(bool markForInvalidatio
markAllClientsForInvalidation(markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
-void RenderSVGResourcePattern::removeClientFromCache(RenderObject* client, bool markForInvalidation)
+void RenderSVGResourcePattern::removeClientFromCache(LayoutObject* client, bool markForInvalidation)
{
ASSERT(client);
m_patternMap.remove(client);
markClientForInvalidation(client, markForInvalidation ? PaintInvalidation : ParentOnlyInvalidation);
}
-PatternData* RenderSVGResourcePattern::patternForRenderer(const RenderObject& object)
+PatternData* RenderSVGResourcePattern::patternForRenderer(const LayoutObject& object)
{
ASSERT(!m_shouldCollectPatternAttributes);
@@ -76,7 +76,7 @@ PatternData* RenderSVGResourcePattern::patternForRenderer(const RenderObject& ob
return m_patternMap.set(&object, buildPatternData(object)).storedValue->value.get();
}
-PassOwnPtr<PatternData> RenderSVGResourcePattern::buildPatternData(const RenderObject& object)
+PassOwnPtr<PatternData> RenderSVGResourcePattern::buildPatternData(const LayoutObject& object)
{
// If we couldn't determine the pattern content element root, stop here.
const PatternAttributes& attributes = this->attributes();
@@ -120,7 +120,7 @@ PassOwnPtr<PatternData> RenderSVGResourcePattern::buildPatternData(const RenderO
return patternData.release();
}
-SVGPaintServer RenderSVGResourcePattern::preparePaintServer(const RenderObject& object)
+SVGPaintServer RenderSVGResourcePattern::preparePaintServer(const LayoutObject& object)
{
clearInvalidationMask();
@@ -181,7 +181,7 @@ PassRefPtr<const SkPicture> RenderSVGResourcePattern::asPicture(const FloatRect&
{
TransformRecorder transformRecorder(recordingContext, patternRenderer->displayItemClient(), tileTransform);
- for (RenderObject* child = patternRenderer->firstChild(); child; child = child->nextSibling())
+ for (LayoutObject* child = patternRenderer->firstChild(); child; child = child->nextSibling())
SVGRenderingContext::renderSubtree(&recordingContext, child);
}
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourcePattern.h ('k') | Source/core/rendering/svg/RenderSVGRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698