Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1511)

Unified Diff: Source/core/svg/SVGUseElement.h

Issue 20670002: REGRESSION: Click on focused link should not remove focus on it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: typo Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.h
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
index e35322c1560a5dea7d4b9aa539e42aef63ba453c..6bd1fb65dfc1d8b34ef87c45414615148be8e35b 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;
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698