Index: Source/core/svg/SVGImageElement.h |
diff --git a/Source/core/svg/SVGImageElement.h b/Source/core/svg/SVGImageElement.h |
index 1ef658b1dfdcb4e6754a9ce11388c68eac226317..15736680743255a98b0491de12c8f94e4ab444b6 100644 |
--- a/Source/core/svg/SVGImageElement.h |
+++ b/Source/core/svg/SVGImageElement.h |
@@ -42,7 +42,7 @@ private: |
SVGImageElement(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; |