diff --git a/content/html/content/src/nsHTMLAnchorElement.cpp b/content/html/content/src/nsHTMLAnchorElement.cpp index 2240a242fa6f..48f1d6d504b8 100644 --- a/content/html/content/src/nsHTMLAnchorElement.cpp +++ b/content/html/content/src/nsHTMLAnchorElement.cpp @@ -132,8 +132,6 @@ public: virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; virtual void DropCachedHref(); - - virtual PRInt32 IntrinsicState() const; }; @@ -493,9 +491,3 @@ nsHTMLAnchorElement::DropCachedHref() { Link::ResetLinkState(); } - -PRInt32 -nsHTMLAnchorElement::IntrinsicState() const -{ - return Link::LinkState() | nsGenericHTMLElement::IntrinsicState(); -} diff --git a/content/html/content/src/nsHTMLAreaElement.cpp b/content/html/content/src/nsHTMLAreaElement.cpp index 08523e2268dc..15fc41dbe750 100644 --- a/content/html/content/src/nsHTMLAreaElement.cpp +++ b/content/html/content/src/nsHTMLAreaElement.cpp @@ -114,8 +114,6 @@ public: virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; - virtual PRInt32 IntrinsicState() const; - protected: }; @@ -331,9 +329,3 @@ nsHTMLAreaElement::GetHrefURI() const { return GetHrefURIForAnchors(); } - -PRInt32 -nsHTMLAreaElement::IntrinsicState() const -{ - return Link::LinkState() | nsGenericHTMLElement::IntrinsicState(); -} diff --git a/content/html/content/src/nsHTMLLinkElement.cpp b/content/html/content/src/nsHTMLLinkElement.cpp index 7c166c5256e1..9dbbe6139aff 100644 --- a/content/html/content/src/nsHTMLLinkElement.cpp +++ b/content/html/content/src/nsHTMLLinkElement.cpp @@ -119,8 +119,6 @@ public: virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; - virtual PRInt32 IntrinsicState() const; - protected: virtual already_AddRefed GetStyleSheetURL(PRBool* aIsInline); virtual void GetStyleSheetInfo(nsAString& aTitle, @@ -436,9 +434,3 @@ nsHTMLLinkElement::GetStyleSheetInfo(nsAString& aTitle, return; } - -PRInt32 -nsHTMLLinkElement::IntrinsicState() const -{ - return Link::LinkState() | nsGenericHTMLElement::IntrinsicState(); -} diff --git a/content/svg/content/src/nsSVGAElement.cpp b/content/svg/content/src/nsSVGAElement.cpp index 0b4b65e2df96..874bcd8c0499 100644 --- a/content/svg/content/src/nsSVGAElement.cpp +++ b/content/svg/content/src/nsSVGAElement.cpp @@ -257,12 +257,6 @@ nsSVGAElement::GetLinkTarget(nsAString& aTarget) } } -PRInt32 -nsSVGAElement::IntrinsicState() const -{ - return Link::LinkState() | nsSVGAElementBase::IntrinsicState(); -} - //---------------------------------------------------------------------- // nsSVGElement methods @@ -272,3 +266,4 @@ nsSVGAElement::GetStringInfo() return StringAttributesInfo(mStringAttributes, sStringInfo, NS_ARRAY_LENGTH(sStringInfo)); } + diff --git a/content/svg/content/src/nsSVGAElement.h b/content/svg/content/src/nsSVGAElement.h index 6cd69cd4139f..2dde0741cbdd 100644 --- a/content/svg/content/src/nsSVGAElement.h +++ b/content/svg/content/src/nsSVGAElement.h @@ -89,7 +89,6 @@ public: virtual nsLinkState GetLinkState() const; virtual void SetLinkState(nsLinkState aState); virtual already_AddRefed GetHrefURI() const; - virtual PRInt32 IntrinsicState() const; protected: