Index: Source/core/svg/SVGLineElement.h |
diff --git a/Source/core/svg/SVGLineElement.h b/Source/core/svg/SVGLineElement.h |
index 2deed76ecb0dcb5beaebea0383bcb71622c88a08..f90960ad1012a9d1cf7ec91b68fccf3ef7fb7803 100644 |
--- a/Source/core/svg/SVGLineElement.h |
+++ b/Source/core/svg/SVGLineElement.h |
@@ -37,7 +37,7 @@ private: |
SVGLineElement(const QualifiedName&, Document*); |
virtual bool isValid() const { return SVGTests::isValid(); } |
- virtual bool supportsFocus() const { return true; } |
+ virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); } |
bool isSupportedAttribute(const QualifiedName&); |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |