mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1183907, properly wrappercache worker URL object, r=baku
This commit is contained in:
parent
05e7622943
commit
2b16b265fc
@ -482,7 +482,7 @@ private:
|
||||
mozilla::ErrorResult& mRv;
|
||||
};
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION(URL, mSearchParams)
|
||||
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(URL, mSearchParams)
|
||||
|
||||
// The reason for using worker::URL is to have different refcnt logging than
|
||||
// for main thread URL.
|
||||
@ -490,6 +490,7 @@ NS_IMPL_CYCLE_COLLECTING_ADDREF(workers::URL)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(workers::URL)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(URL)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
|
||||
|
@ -35,7 +35,7 @@ class URL final : public mozilla::dom::URLSearchParamsObserver
|
||||
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS(URL)
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(URL)
|
||||
|
||||
URL(WorkerPrivate* aWorkerPrivate, URLProxy* aURLProxy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user