| Index: Source/core/svg/SVGUseElement.h
|
| diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
|
| index b83af14014f1ded326dfc7bf7d63a8311fb5f8e2..64ef9e714e27ff20abbf89609cc2aafc3de397c1 100644
|
| --- a/Source/core/svg/SVGUseElement.h
|
| +++ b/Source/core/svg/SVGUseElement.h
|
| @@ -57,7 +57,8 @@ private:
|
| SVGUseElement(Document&, bool wasInsertedByParser);
|
|
|
| virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); }
|
| - 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;
|
| @@ -78,7 +79,7 @@ private:
|
| void buildShadowAndInstanceTree(SVGElement* target);
|
| void detachInstance();
|
|
|
| - virtual bool haveLoadedRequiredResources() OVERRIDE { return m_haveFiredLoadEvent; }
|
| + virtual bool haveLoadedRequiredResources() OVERRIDE { return !isStructurallyExternal() || m_haveFiredLoadEvent; }
|
|
|
| virtual void finishParsingChildren() OVERRIDE;
|
| virtual bool selfHasRelativeLengths() const OVERRIDE;
|
|
|