Index: third_party/WebKit/Source/core/svg/SVGAElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAElement.cpp b/third_party/WebKit/Source/core/svg/SVGAElement.cpp |
index 88c9a27fc180f21e2da2a2ab525e7378f02acbed..f135ecc04cf5ace35b62fd171ee6322741da161c 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAElement.cpp |
@@ -198,9 +198,8 @@ bool SVGAElement::isKeyboardFocusable() const |
{ |
if (isFocusable() && Element::supportsFocus()) |
return SVGElement::isKeyboardFocusable(); |
- |
- if (isLink()) |
- return document().frameHost()->chromeClient().tabsToLinks(); |
+ if (isLink() && !document().frameHost()->chromeClient().tabsToLinks()) |
+ return false; |
return SVGElement::isKeyboardFocusable(); |
} |