From e482e335bb8de6630a171cd0a784b420d91106b2 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 17 Apr 2020 06:14:10 -0400 Subject: Bug 1389743 - Only reconstruct frames synchronously from ContentRemoved when called from frame construction Tag #1375 --- layout/base/nsPresShell.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'layout/base/nsPresShell.h') diff --git a/layout/base/nsPresShell.h b/layout/base/nsPresShell.h index c25d07e66..a0d2ea753 100644 --- a/layout/base/nsPresShell.h +++ b/layout/base/nsPresShell.h @@ -139,9 +139,7 @@ public: virtual bool IsSafeToFlush() const override; virtual void FlushPendingNotifications(mozFlushType aType) override; virtual void FlushPendingNotifications(mozilla::ChangesToFlush aType) override; - virtual void DestroyFramesFor(nsIContent* aContent, - nsIContent** aDestroyedFramesFor) override; - virtual void CreateFramesFor(nsIContent* aContent) override; + virtual void DestroyFramesFor(mozilla::dom::Element* aElement) override; /** * Recreates the frames for a node -- cgit v1.2.3