diff options
Diffstat (limited to 'dom/base/Element.cpp')
-rw-r--r-- | dom/base/Element.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/Element.cpp b/dom/base/Element.cpp index 5bbfbee9b..ba5ba9c72 100644 --- a/dom/base/Element.cpp +++ b/dom/base/Element.cpp @@ -1119,7 +1119,7 @@ Element::CreateShadowRoot(ErrorResult& aError) if (nsIDocument* doc = GetComposedDoc()) { if (nsIPresShell* shell = doc->GetShell()) { - shell->DestroyFramesFor(this); + shell->DestroyFramesForAndRestyle(this); MOZ_ASSERT(!shell->FrameManager()->GetDisplayContentsStyleFor(this)); } } |