diff options
Diffstat (limited to 'layout/base/nsIPresShell.h')
-rw-r--r-- | layout/base/nsIPresShell.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/layout/base/nsIPresShell.h b/layout/base/nsIPresShell.h index 0a5f9e6e7..2df75489f 100644 --- a/layout/base/nsIPresShell.h +++ b/layout/base/nsIPresShell.h @@ -539,20 +539,12 @@ public: virtual void NotifyCounterStylesAreDirty() = 0; /** - * Destroy the frames for aContent. Note that this may destroy frames - * for an ancestor instead - aDestroyedFramesFor contains the content node - * where frames were actually destroyed (which should be used in the - * CreateFramesFor call). The frame tree state will be captured before - * the frames are destroyed in the frame constructor. - */ - virtual void DestroyFramesFor(nsIContent* aContent, - nsIContent** aDestroyedFramesFor) = 0; - /** - * Create new frames for aContent. It will use the last captured layout - * history state captured in the frame constructor to restore the state - * in the new frame tree. + * Destroy the frames for aElement, and reconstruct them asynchronously if + * needed. + * + * Note that this may destroy frames for an ancestor instead. */ - virtual void CreateFramesFor(nsIContent* aContent) = 0; + virtual void DestroyFramesFor(mozilla::dom::Element* aElement) = 0; /** * Recreates the frames for a node |