| Index: Source/core/svg/SVGAElement.cpp
|
| diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp
|
| index 06d7f840dcd31988757052a735079bc9f1017f38..d41e18e959a28b67df5f6f74bf99c56c452b761f 100644
|
| --- a/Source/core/svg/SVGAElement.cpp
|
| +++ b/Source/core/svg/SVGAElement.cpp
|
| @@ -165,14 +165,11 @@ bool SVGAElement::shouldHaveFocusAppearance() const
|
| return !m_wasFocusedByMouse || SVGGraphicsElement::supportsFocus();
|
| }
|
|
|
| -bool SVGAElement::wasFocusedByMouse() const
|
| +void SVGAElement::dispatchFocusEvent(Element* oldFocusedElement, FocusType type)
|
| {
|
| - return m_wasFocusedByMouse;
|
| -}
|
| -
|
| -void SVGAElement::setWasFocusedByMouse(bool wasFocusedByMouse)
|
| -{
|
| - m_wasFocusedByMouse = wasFocusedByMouse;
|
| + if (type != FocusTypePage)
|
| + m_wasFocusedByMouse = type == FocusTypeMouse;
|
| + SVGGraphicsElement::dispatchFocusEvent(oldFocusedElement, type);
|
| }
|
|
|
| bool SVGAElement::isURLAttribute(const Attribute& attribute) const
|
|
|