| 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);
|
| }
|
|
|
|
|