Index: Source/core/svg/SVGPolyElement.h |
diff --git a/Source/core/svg/SVGPolyElement.h b/Source/core/svg/SVGPolyElement.h |
index 5f735bed0f2647df44bc7fe72b50bd287ddedec2..f7bb43934931678ad10848f51e5fc06023cda5ed 100644 |
--- a/Source/core/svg/SVGPolyElement.h |
+++ b/Source/core/svg/SVGPolyElement.h |
@@ -44,7 +44,7 @@ protected: |
private: |
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; |