Index: Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
index ff4f87b19ff200ae0cb8c5d0ea7e70504a825d51..b8dfe39c6a1d078d69f4e29c06ccb4dc1f5836bb 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
@@ -261,7 +261,7 @@ PassOwnPtr<ImageBuffer> RenderSVGResourcePattern::createTileImage(const PatternA |
// Draw the content into the ImageBuffer. |
for (Node* node = attributes.patternContentElement()->firstChild(); node; node = node->nextSibling()) { |
- if (!node->isSVGElement() || !toSVGElement(node)->isSVGStyledElement() || !node->renderer()) |
+ if (!node->isSVGElement() || !node->renderer()) |
continue; |
if (node->renderer()->needsLayout()) |
return nullptr; |