From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- dom/ipc/BrowserParent.h | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'dom/ipc/BrowserParent.h') diff --git a/dom/ipc/BrowserParent.h b/dom/ipc/BrowserParent.h index 63a52c6ac4..c7fc196c25 100644 --- a/dom/ipc/BrowserParent.h +++ b/dom/ipc/BrowserParent.h @@ -131,7 +131,7 @@ class BrowserParent final : public PBrowserParent, const TabId GetTabId() const { return mTabId; } - ContentParent* Manager() const { return mManager; } + ContentParent* Manager() const; CanonicalBrowsingContext* GetBrowsingContext() { return mBrowsingContext; } @@ -383,12 +383,9 @@ class BrowserParent final : public PBrowserParent, nsTArray&& aDisabledCommands); mozilla::ipc::IPCResult RecvSetCursor( - const nsCursor& aValue, const bool& aHasCustomCursor, - Maybe&& aCursorData, const uint32_t& aWidth, - const uint32_t& aHeight, const float& aResolutionX, - const float& aResolutionY, const uint32_t& aStride, - const gfx::SurfaceFormat& aFormat, const uint32_t& aHotspotX, - const uint32_t& aHotspotY, const bool& aForce); + const nsCursor& aValue, Maybe&& aCustomCursor, + const float& aResolutionX, const float& aResolutionY, + const uint32_t& aHotspotX, const uint32_t& aHotspotY, const bool& aForce); mozilla::ipc::IPCResult RecvSetLinkStatus(const nsString& aStatus); @@ -423,9 +420,9 @@ class BrowserParent final : public PBrowserParent, const nsString& aTitle, const nsString& aInitialColor, const nsTArray& aDefaultColors); - PVsyncParent* AllocPVsyncParent(); + already_AddRefed AllocPVsyncParent(); - bool DeallocPVsyncParent(PVsyncParent* aActor); + mozilla::ipc::IPCResult RecvPVsyncConstructor(PVsyncParent* aActor) override; #ifdef ACCESSIBILITY PDocAccessibleParent* AllocPDocAccessibleParent( @@ -855,10 +852,8 @@ class BrowserParent final : public PBrowserParent, private: TabId mTabId; - RefPtr mManager; // The root browsing context loaded in this BrowserParent. RefPtr mBrowsingContext; - nsCOMPtr mLoadContext; RefPtr mFrameElement; nsCOMPtr mBrowserDOMWindow; // We keep a strong reference to the frameloader after we've sent the @@ -942,8 +937,6 @@ class BrowserParent final : public PBrowserParent, nsTArray mVerifyDropLinks; - RefPtr mVsyncParent; - #ifdef DEBUG int32_t mActiveSupressDisplayportCount = 0; #endif -- cgit v1.2.3