| Index: Source/core/svg/SVGUseElement.h
|
| diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
|
| index 636d50feefa2b34b8d6b764ac4a2008fb75b9cdf..b68315af17855c11dbe3960594025abfb229e114 100644
|
| --- a/Source/core/svg/SVGUseElement.h
|
| +++ b/Source/core/svg/SVGUseElement.h
|
| @@ -58,7 +58,8 @@ public:
|
| private:
|
| SVGUseElement(Document&, bool wasInsertedByParser);
|
|
|
| - virtual bool isStructurallyExternal() const OVERRIDE { return isExternalURIReference(hrefCurrentValue(), document()); }
|
| + virtual bool isStructurallyExternal() const OVERRIDE { return !hrefCurrentValue().isNull() && isExternalURIReference(hrefCurrentValue(), document()); }
|
| +
|
| virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); }
|
|
|
| virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
|
| @@ -76,8 +77,7 @@ private:
|
| void detachInstance();
|
|
|
| void scheduleShadowTreeRecreation();
|
| -
|
| - virtual bool haveLoadedRequiredResources() OVERRIDE { return m_haveFiredLoadEvent; }
|
| + virtual bool haveLoadedRequiredResources() OVERRIDE { return !isStructurallyExternal() || m_haveFiredLoadEvent; }
|
|
|
| virtual void finishParsingChildren() OVERRIDE;
|
| virtual bool selfHasRelativeLengths() const OVERRIDE;
|
|
|