| 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..b5c95287aeba6a2d9607367eb16c2f20df22fa19 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,11 +72,6 @@ void RenderSVGShape::updateShapeFromElement()
|
| m_strokeBoundingBox = calculateStrokeBoundingBox();
|
| }
|
|
|
| -bool RenderSVGShape::isEmpty() const
|
| -{
|
| - return path().isEmpty();
|
| -}
|
| -
|
| void RenderSVGShape::fillShape(GraphicsContext* context) const
|
| {
|
| context->fillPath(path());
|
| @@ -243,7 +238,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))
|
|
|