summaryrefslogtreecommitdiff
path: root/dom/base/WebSocket.h
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2022-08-25 21:59:08 -0500
committerBrian Smith <brian@dbsoft.org>2022-08-25 21:59:08 -0500
commitd6f18548a664b82489daeebf18fd3051f3edc8ac (patch)
tree865369a2ddc822f92758edfdb7647348f490b174 /dom/base/WebSocket.h
parentbbc3e455b064320170be03996a87a493f3c18106 (diff)
downloaduxp-d6f18548a664b82489daeebf18fd3051f3edc8ac.tar.gz
Issue #1990 - Part 5 - Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one.
Mozilla Bug Bug 1333540. Skipped the renamed of various functions, but otherwise a direct port.
Diffstat (limited to 'dom/base/WebSocket.h')
-rw-r--r--dom/base/WebSocket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/WebSocket.h b/dom/base/WebSocket.h
index 2eedeb3bab..605ef825c1 100644
--- a/dom/base/WebSocket.h
+++ b/dom/base/WebSocket.h
@@ -45,8 +45,8 @@ public:
public:
NS_DECL_ISUPPORTS_INHERITED
- NS_DECL_CYCLE_COLLECTION_SKIPPABLE_SCRIPT_HOLDER_CLASS_INHERITED(
- WebSocket, DOMEventTargetHelper)
+ NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(WebSocket, DOMEventTargetHelper)
+ virtual bool IsCertainlyAliveForCC() const override;
// EventTarget
virtual void EventListenerAdded(nsIAtom* aType) override;