| Index: Source/WebCore/svg/SVGTextPathElement.cpp
|
| ===================================================================
|
| --- Source/WebCore/svg/SVGTextPathElement.cpp (revision 96953)
|
| +++ Source/WebCore/svg/SVGTextPathElement.cpp (working copy)
|
| @@ -145,7 +145,12 @@
|
| String id;
|
| Element* targetElement = SVGURIReference::targetElementFromIRIString(href(), document(), &id);
|
| if (!targetElement) {
|
| + if (hasPendingResources() || id.isEmpty())
|
| + return;
|
| +
|
| + ASSERT(!hasPendingResources());
|
| document()->accessSVGExtensions()->addPendingResource(id, this);
|
| + ASSERT(hasPendingResources());
|
| return;
|
| }
|
| }
|
|
|