summaryrefslogtreecommitdiffstats
path: root/dom/base/Element.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 06:41:41 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 06:41:41 -0400
commit96dfc63bc583454fb895c7a23f685995f5410388 (patch)
tree0acc6ed7feed9267c63e7d388a4ef24c015af467 /dom/base/Element.cpp
parented7faf3fde0000b139414648269d2ff82846bac1 (diff)
downloadUXP-96dfc63bc583454fb895c7a23f685995f5410388.tar
UXP-96dfc63bc583454fb895c7a23f685995f5410388.tar.gz
UXP-96dfc63bc583454fb895c7a23f685995f5410388.tar.lz
UXP-96dfc63bc583454fb895c7a23f685995f5410388.tar.xz
UXP-96dfc63bc583454fb895c7a23f685995f5410388.zip
Bug 1411754 - Rename PresShell::DestroyFramesFor to DestroyFramesForAndRestyle
Tag #1375
Diffstat (limited to 'dom/base/Element.cpp')
-rw-r--r--dom/base/Element.cpp2
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));
}
}