summaryrefslogtreecommitdiffstats
path: root/dom/base/ShadowRoot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/ShadowRoot.cpp')
-rw-r--r--dom/base/ShadowRoot.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/dom/base/ShadowRoot.cpp b/dom/base/ShadowRoot.cpp
index f19cad6df..5f61b1f4d 100644
--- a/dom/base/ShadowRoot.cpp
+++ b/dom/base/ShadowRoot.cpp
@@ -265,8 +265,7 @@ ShadowRoot::DistributionChanged()
return;
}
- // FIXME(emilio): Rename this to DestroyFramesForAndRestyle?
- shell->DestroyFramesFor(host);
+ shell->DestroyFramesForAndRestyle(host);
}
const HTMLContentElement*
@@ -513,7 +512,7 @@ ShadowRoot::AttributeChanged(nsIDocument* aDocument,
return;
}
- shell->DestroyFramesFor(aElement);
+ shell->DestroyFramesForAndRestyle(aElement);
}
bool