Index: Source/core/svg/SVGUseElement.h |
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h |
index 7dbe3aafdf019e3216d017820dc5211e24c2f290..62a8618c741df5bbe24029516539d73a710627f7 100644 |
--- a/Source/core/svg/SVGUseElement.h |
+++ b/Source/core/svg/SVGUseElement.h |
@@ -54,7 +54,7 @@ private: |
SVGUseElement(const QualifiedName&, Document*, bool wasInsertedByParser); |
virtual bool isValid() const { return SVGTests::isValid(); } |
- virtual bool supportsFocus() const { return true; } |
+ virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); } |
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
virtual void removedFrom(ContainerNode*) OVERRIDE; |