Backed out changeset 8b82e1e25671

This commit is contained in:
Shawn Wilsher 2010-02-18 10:03:39 -08:00
Родитель 5c6b87f414
Коммит 99254927ad
5 изменённых файлов: 1 добавлений и 31 удалений

Просмотреть файл

@ -132,8 +132,6 @@ public:
virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
virtual void DropCachedHref(); virtual void DropCachedHref();
virtual PRInt32 IntrinsicState() const;
}; };
@ -493,9 +491,3 @@ nsHTMLAnchorElement::DropCachedHref()
{ {
Link::ResetLinkState(); Link::ResetLinkState();
} }
PRInt32
nsHTMLAnchorElement::IntrinsicState() const
{
return Link::LinkState() | nsGenericHTMLElement::IntrinsicState();
}

Просмотреть файл

@ -114,8 +114,6 @@ public:
virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
virtual PRInt32 IntrinsicState() const;
protected: protected:
}; };
@ -331,9 +329,3 @@ nsHTMLAreaElement::GetHrefURI() const
{ {
return GetHrefURIForAnchors(); return GetHrefURIForAnchors();
} }
PRInt32
nsHTMLAreaElement::IntrinsicState() const
{
return Link::LinkState() | nsGenericHTMLElement::IntrinsicState();
}

Просмотреть файл

@ -119,8 +119,6 @@ public:
virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const; virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
virtual PRInt32 IntrinsicState() const;
protected: protected:
virtual already_AddRefed<nsIURI> GetStyleSheetURL(PRBool* aIsInline); virtual already_AddRefed<nsIURI> GetStyleSheetURL(PRBool* aIsInline);
virtual void GetStyleSheetInfo(nsAString& aTitle, virtual void GetStyleSheetInfo(nsAString& aTitle,
@ -436,9 +434,3 @@ nsHTMLLinkElement::GetStyleSheetInfo(nsAString& aTitle,
return; return;
} }
PRInt32
nsHTMLLinkElement::IntrinsicState() const
{
return Link::LinkState() | nsGenericHTMLElement::IntrinsicState();
}

Просмотреть файл

@ -257,12 +257,6 @@ nsSVGAElement::GetLinkTarget(nsAString& aTarget)
} }
} }
PRInt32
nsSVGAElement::IntrinsicState() const
{
return Link::LinkState() | nsSVGAElementBase::IntrinsicState();
}
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// nsSVGElement methods // nsSVGElement methods
@ -272,3 +266,4 @@ nsSVGAElement::GetStringInfo()
return StringAttributesInfo(mStringAttributes, sStringInfo, return StringAttributesInfo(mStringAttributes, sStringInfo,
NS_ARRAY_LENGTH(sStringInfo)); NS_ARRAY_LENGTH(sStringInfo));
} }

Просмотреть файл

@ -89,7 +89,6 @@ public:
virtual nsLinkState GetLinkState() const; virtual nsLinkState GetLinkState() const;
virtual void SetLinkState(nsLinkState aState); virtual void SetLinkState(nsLinkState aState);
virtual already_AddRefed<nsIURI> GetHrefURI() const; virtual already_AddRefed<nsIURI> GetHrefURI() const;
virtual PRInt32 IntrinsicState() const;
protected: protected: