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

Unified Diff: Source/core/svg/SVGElement.cpp

Issue 106263004: [SVG] A minor clean up related to event listener attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 12 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 | « no previous file | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index 0ab482d46c41e554d401647e5d593411ff68d8a2..3d5b75634a6d3edc97eb7aeea02f5009e94fbc97 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -653,12 +653,6 @@ void SVGElement::parseAttribute(const QualifiedName& name, const AtomicString& v
// standard events
if (name == onloadAttr)
setAttributeEventListener(EventTypeNames::load, createAttributeEventListener(this, name, value));
- else if (name == onbeginAttr)
- setAttributeEventListener(EventTypeNames::beginEvent, createAttributeEventListener(this, name, value));
- else if (name == onendAttr)
- setAttributeEventListener(EventTypeNames::endEvent, createAttributeEventListener(this, name, value));
- else if (name == onrepeatAttr)
- setAttributeEventListener(EventTypeNames::repeatEvent, createAttributeEventListener(this, name, value));
else if (name == onclickAttr)
setAttributeEventListener(EventTypeNames::click, createAttributeEventListener(this, name, value));
else if (name == onmousedownAttr)
« no previous file with comments | « no previous file | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698