Index: Source/core/svg/SVGTextElement.h |
diff --git a/Source/core/svg/SVGTextElement.h b/Source/core/svg/SVGTextElement.h |
index 6765d0cfc256ed60d428a64a42e90ca29b97e1b5..95be00e5e58eb3d14377294b1fc3922f5e2f5d4d 100644 |
--- a/Source/core/svg/SVGTextElement.h |
+++ b/Source/core/svg/SVGTextElement.h |
@@ -34,7 +34,7 @@ public: |
private: |
SVGTextElement(const QualifiedName&, Document*); |
- virtual bool supportsFocus() const { return true; } |
+ virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(); } |
virtual RenderObject* createRenderer(RenderStyle*); |
virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |