Reviewed by Eric.
https://bugs.webkit.org/show_bug.cgi?id=15431
SVGRenderStyle should store pre-modified resource URIs
Store pre-modified resource URIs to decrease string
operations during layout/rendering.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/rendering/SVGRenderSupport.cpp b/WebCore/rendering/SVGRenderSupport.cpp
index db6e345..f3223f1 100644
--- a/WebCore/rendering/SVGRenderSupport.cpp
+++ b/WebCore/rendering/SVGRenderSupport.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007 Rob Buis <buis@kde.org>
+ * Copyright (C) 2007, 2008 Rob Buis <buis@kde.org>
* (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
* (C) 2007 Eric Seidel <eric@webkit.org>
*
@@ -59,11 +59,11 @@
}
#if ENABLE(SVG_FILTERS)
- AtomicString filterId(SVGURIReference::getTarget(svgStyle->filter()));
+ AtomicString filterId(svgStyle->filter());
#endif
- AtomicString clipperId(SVGURIReference::getTarget(svgStyle->clipPath()));
- AtomicString maskerId(SVGURIReference::getTarget(svgStyle->maskElement()));
+ AtomicString clipperId(svgStyle->clipPath());
+ AtomicString maskerId(svgStyle->maskElement());
Document* document = object->document();