Index: Source/core/rendering/svg/RenderSVGShape.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp |
index 21655ff482b051d6aec876eaf153cde0e5cb6b20..f0f40c7e32ff34de210fa97e30ce704dc2f8aa57 100644 |
--- a/Source/core/rendering/svg/RenderSVGShape.cpp |
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp |
@@ -63,7 +63,7 @@ void RenderSVGShape::updateShapeFromElement() |
{ |
m_path.clear(); |
m_path = adoptPtr(new Path); |
- ASSERT(RenderSVGShape::isEmpty()); |
+ ASSERT(RenderSVGShape::isShapeEmpty()); |
updatePathFromGraphicsElement(toSVGGraphicsElement(element()), path()); |
processMarkerPositions(); |
@@ -72,7 +72,7 @@ void RenderSVGShape::updateShapeFromElement() |
m_strokeBoundingBox = calculateStrokeBoundingBox(); |
} |
-bool RenderSVGShape::isEmpty() const |
+bool RenderSVGShape::isShapeEmpty() const |
{ |
return path().isEmpty(); |
f(malita)
2014/03/01 14:48:26
Trivial - relocate to header?
pdr.
2014/03/01 20:48:46
Done.
|
} |
@@ -243,7 +243,7 @@ void RenderSVGShape::paint(PaintInfo& paintInfo, const LayoutPoint&) |
{ |
ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this); |
- if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || isEmpty()) |
+ if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || isShapeEmpty()) |
return; |
FloatRect boundingBox = repaintRectInLocalCoordinates(); |
if (!SVGRenderSupport::paintInfoIntersectsRepaintRect(boundingBox, m_localTransform, paintInfo)) |