summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderSVGContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderSVGContainer.cpp')
-rw-r--r--WebCore/rendering/RenderSVGContainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderSVGContainer.cpp b/WebCore/rendering/RenderSVGContainer.cpp
index 6d1b965..56846a9 100644
--- a/WebCore/rendering/RenderSVGContainer.cpp
+++ b/WebCore/rendering/RenderSVGContainer.cpp
@@ -27,9 +27,9 @@
#include "RenderSVGContainer.h"
#include "GraphicsContext.h"
+#include "RenderSVGResourceFilter.h"
#include "RenderView.h"
#include "SVGRenderSupport.h"
-#include "SVGResourceFilter.h"
#include "SVGStyledElement.h"
namespace WebCore {
@@ -70,7 +70,7 @@ bool RenderSVGContainer::selfWillPaint() const
{
#if ENABLE(FILTERS)
const SVGRenderStyle* svgStyle = style()->svgStyle();
- SVGResourceFilter* filter = getFilterById(document(), svgStyle->filter(), this);
+ RenderSVGResourceFilter* filter = getRenderSVGResourceById<RenderSVGResourceFilter>(document(), svgStyle->filterResource());
if (filter)
return true;
#endif
@@ -95,7 +95,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, int, int)
applyTransformToPaintInfo(childPaintInfo, localToParentTransform());
- SVGResourceFilter* filter = 0;
+ RenderSVGResourceFilter* filter = 0;
FloatRect boundingBox = repaintRectInLocalCoordinates();
bool continueRendering = true;
@@ -120,7 +120,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, int, int)
// We should instead disable our clip during PaintPhaseOutline
IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(repaintRectInLocalCoordinates()));
if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE)
- paintOutline(paintInfo.context, paintRectInParent.x(), paintRectInParent.y(), paintRectInParent.width(), paintRectInParent.height(), style());
+ paintOutline(paintInfo.context, paintRectInParent.x(), paintRectInParent.y(), paintRectInParent.width(), paintRectInParent.height());
}
// addFocusRingRects is called from paintOutline and needs to be in the same coordinates as the paintOuline call