Index: Source/core/svg/SVGRectElement.h |
diff --git a/Source/core/svg/SVGRectElement.h b/Source/core/svg/SVGRectElement.h |
index e3a7118c8cfa3f07ce9bb894b7b24a8436cd06ed..eaf2c1f2798f95f5ca4a2354452e3a3b2faa5058 100644 |
--- a/Source/core/svg/SVGRectElement.h |
+++ b/Source/core/svg/SVGRectElement.h |
@@ -38,7 +38,7 @@ private: |
SVGRectElement(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; |