| Index: third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp b/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| index 17d0f56e4b0e7d913049c3d664c28c433b90d909..dd0fec95c41f6c7734e4e22eba373408d6bdcdc9 100644
|
| --- a/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/VisitedLinkState.cpp
|
| @@ -119,22 +119,22 @@ EInsideLink VisitedLinkState::determineLinkStateSlowCase(
|
| const AtomicString& attribute = linkAttribute(element);
|
|
|
| if (attribute.isNull())
|
| - return NotInsideLink; // This can happen for <img usemap>
|
| + return EInsideLink::kNotInsideLink; // This can happen for <img usemap>
|
|
|
| // An empty attribute refers to the document itself which is always
|
| // visited. It is useful to check this explicitly so that visited
|
| // links can be tested in platform independent manner, without
|
| // explicit support in the test harness.
|
| if (attribute.isEmpty())
|
| - return InsideVisitedLink;
|
| + return EInsideLink::kInsideVisitedLink;
|
|
|
| if (LinkHash hash = linkHashForElement(element, attribute)) {
|
| m_linksCheckedForVisitedState.add(hash);
|
| if (Platform::current()->isLinkVisited(hash))
|
| - return InsideVisitedLink;
|
| + return EInsideLink::kInsideVisitedLink;
|
| }
|
|
|
| - return InsideUnvisitedLink;
|
| + return EInsideLink::kInsideUnvisitedLink;
|
| }
|
|
|
| DEFINE_TRACE(VisitedLinkState) {
|
|
|