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 811292e81adefe76ae79686f2ee2887249d644fb..a3ad28ceb694a0febbc8ad1b04091a956223677f 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAElement.cpp |
@@ -155,7 +155,7 @@ short SVGAElement::tabIndex() const |
bool SVGAElement::supportsFocus() const |
{ |
- if (hasEditableStyle()) |
+ if (hasEditableStyle(*this)) |
return SVGGraphicsElement::supportsFocus(); |
// If not a link we should still be able to focus the element if it has tabIndex. |
return isLink() || SVGGraphicsElement::supportsFocus(); |
@@ -207,7 +207,7 @@ bool SVGAElement::canStartSelection() const |
{ |
if (!isLink()) |
return SVGElement::canStartSelection(); |
- return hasEditableStyle(); |
+ return hasEditableStyle(*this); |
} |
bool SVGAElement::willRespondToMouseClickEvents() |