#include "core/rendering/svg/RenderSVGResourceMarker.h"
-#include "core/rendering/LayoutRectRecorder.h"
+#include "core/rendering/PaintInfo.h"
#include "core/rendering/svg/RenderSVGContainer.h"
#include "core/rendering/svg/SVGRenderSupport.h"
#include "platform/graphics/GraphicsContextStateSaver.h"
#include "wtf/TemporaryChange.h"
-namespace WebCore {
+namespace blink {
const RenderSVGResourceType RenderSVGResourceMarker::s_resourceType = MarkerResourceType;
if (m_isInLayout)
return;
- LayoutRectRecorder recorder(*this);
TemporaryChange<bool> inLayoutChange(m_isInLayout, true);
// RenderSVGHiddenContainer overwrites layout(). We need the
// layouting of RenderSVGContainer for calculating local
- // transformations and repaint.
+ // transformations and paint invalidation.
RenderSVGContainer::layout();
clearInvalidationMask();
FloatRect RenderSVGResourceMarker::markerBoundaries(const AffineTransform& markerTransformation) const
{
- FloatRect coordinates = RenderSVGContainer::repaintRectInLocalCoordinates();
+ FloatRect coordinates = RenderSVGContainer::paintInvalidationRectInLocalCoordinates();
- // Map repaint rect into parent coordinate space, in which the marker boundaries have to be evaluated
+ // Map paint invalidation rect into parent coordinate space, in which the marker boundaries have to be evaluated
coordinates = localToParentTransform().mapRect(coordinates);
return markerTransformation.mapRect(coordinates);