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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.h

Issue 1942723004: Change EventTarget callback APIs for add/RemoveEventListenerInternal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win32 signed/unsigned issue Created 4 years, 7 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/SVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h
index d4094f2c93880001d3dde5f6f82f6a319a7345bf..9f956014d0a3e2475d100d41cd445f681d91f049 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h
@@ -222,8 +222,8 @@ protected:
void reportAttributeParsingError(SVGParsingError, const QualifiedName&, const AtomicString&);
bool hasFocusEventListeners() const;
- bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) final;
- bool removeEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) final;
+ void addedEventListener(const AtomicString& eventType, RegisteredEventListener&) final;
+ void removedEventListener(const AtomicString& eventType, const RegisteredEventListener&) final;
private:
bool isSVGElement() const = delete; // This will catch anyone doing an unnecessary check.

Powered by Google App Engine
This is Rietveld 408576698