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

Unified Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp

Issue 2133983003: Remove SVGZoomEvent interface and onzoom attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 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
Index: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
index eb3e57ad754fcf4904bb7862a2ebec366cacc232..73bddfc0bd4f4625d3947890011c6ed5d1696afd 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
@@ -177,9 +177,6 @@ void SVGSVGElement::parseAttribute(const QualifiedName& name, const AtomicString
document().setWindowAttributeEventListener(EventTypeNames::resize, createAttributeEventListener(document().frame(), name, value, eventParameterName()));
} else if (name == HTMLNames::onscrollAttr) {
document().setWindowAttributeEventListener(EventTypeNames::scroll, createAttributeEventListener(document().frame(), name, value, eventParameterName()));
- } else if (name == SVGNames::onzoomAttr) {
- Deprecation::countDeprecation(document(), UseCounter::SVGZoomEvent);
- document().setWindowAttributeEventListener(EventTypeNames::zoom, createAttributeEventListener(document().frame(), name, value, eventParameterName()));
} else {
setListener = false;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAttributeNames.in ('k') | third_party/WebKit/Source/core/svg/SVGZoomEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698