diff options
Diffstat (limited to 'devtools/shared/content-observer.js')
-rw-r--r-- | devtools/shared/content-observer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/shared/content-observer.js b/devtools/shared/content-observer.js index 08271e4572..c9f374096b 100644 --- a/devtools/shared/content-observer.js +++ b/devtools/shared/content-observer.js @@ -51,7 +51,7 @@ ContentObserver.prototype = { /** * Fired immediately after a web content document window has been set up. */ - _onContentGlobalCreated(subject, topic, data) { + _onContentGlobalCreated(subject) { if (subject == this._contentWindow) { EventEmitter.emit(this, "global-created", subject); } @@ -60,7 +60,7 @@ ContentObserver.prototype = { /** * Fired when an inner window is removed from the backward/forward cache. */ - _onInnerWindowDestroyed(subject, topic, data) { + _onInnerWindowDestroyed(subject) { const id = subject.QueryInterface(Ci.nsISupportsPRUint64).data; EventEmitter.emit(this, "global-destroyed", id); }, |