mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
parent
311d45691c
commit
42d9f2ffb3
8 changed files with 46 additions and 26 deletions
|
|
@ -106,7 +106,10 @@ class DOMIntersectionObserver final : public nsISupports,
|
|||
public:
|
||||
DOMIntersectionObserver(already_AddRefed<nsPIDOMWindowInner>&& aOwner,
|
||||
mozilla::dom::IntersectionCallback& aCb)
|
||||
: mOwner(aOwner), mCallback(&aCb), mConnected(false)
|
||||
: mOwner(aOwner)
|
||||
, mDocument(mOwner->GetExtantDoc())
|
||||
, mCallback(&aCb)
|
||||
, mConnected(false)
|
||||
{
|
||||
}
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
|
@ -164,6 +167,7 @@ protected:
|
|||
double aIntersectionRatio);
|
||||
|
||||
nsCOMPtr<nsPIDOMWindowInner> mOwner;
|
||||
RefPtr<nsIDocument> mDocument;
|
||||
RefPtr<mozilla::dom::IntersectionCallback> mCallback;
|
||||
RefPtr<Element> mRoot;
|
||||
nsCSSRect mRootMargin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue