Index: Source/core/svg/SVGSwitchElement.h |
diff --git a/Source/core/svg/SVGSwitchElement.h b/Source/core/svg/SVGSwitchElement.h |
index 7b8231170647f457c76ae532bd12261cacdc7360..99cf9560e1022a5184eb661b8806a97f10dda307 100644 |
--- a/Source/core/svg/SVGSwitchElement.h |
+++ b/Source/core/svg/SVGSwitchElement.h |
@@ -36,7 +36,7 @@ private: |
SVGSwitchElement(const QualifiedName&, Document*); |
virtual bool isValid() const { return SVGTests::isValid(); } |
- virtual bool supportsFocus() const { return true; } |
+ virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); } |
virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |