Merge for backout of changeset aeb2d5550890

This commit is contained in:
Shawn Wilsher 2010-02-18 10:12:45 -08:00
commit df3fa043aa
2 changed files with 0 additions and 23 deletions

View File

@ -39,8 +39,6 @@
#include "Link.h"
#include "nsIEventStateManager.h"
namespace mozilla {
namespace dom {
@ -61,20 +59,6 @@ Link::SetLinkState(nsLinkState aState)
mLinkState = aState;
}
PRInt32
Link::LinkState() const
{
if (mLinkState == eLinkState_Visited) {
return NS_EVENT_STATE_VISITED;
}
if (mLinkState == eLinkState_Unvisited) {
return NS_EVENT_STATE_UNVISITED;
}
return 0;
}
void
Link::ResetLinkState()
{

View File

@ -57,13 +57,6 @@ public:
virtual nsLinkState GetLinkState() const;
virtual void SetLinkState(nsLinkState aState);
/**
* @return NS_EVENT_STATE_VISITED if this link is visited,
* NS_EVENT_STATE_UNVISTED if this link is not visited, or 0 if this
* link is not actually a link.
*/
PRInt32 LinkState() const;
protected:
/**
* Invalidates any link caching, and resets the state to the default.