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

Unified Diff: third_party/WebKit/Source/modules/netinfo/NetworkInformation.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/modules/netinfo/NetworkInformation.h
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h
index 681fb0c6517712ce0adbd5d90dc791a025b2c33b..fb920e0adb5326d88558771bd9ccab9d07e8377d 100644
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.h
@@ -50,8 +50,8 @@ public:
protected:
// EventTarget overrides.
- bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) override;
- bool removeEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) override;
+ void addedEventListener(const AtomicString& eventType, RegisteredEventListener&) final;
+ void removedEventListener(const AtomicString& eventType, const RegisteredEventListener&) final;
private:
explicit NetworkInformation(ExecutionContext*);

Powered by Google App Engine
This is Rietveld 408576698