зеркало из https://github.com/mozilla/pjs.git
Fix for 48931, r=danm,scc
This commit is contained in:
Родитель
f5be2bb43a
Коммит
4b07f49bb1
|
@ -141,9 +141,11 @@ struct nsXBLBindingRequest
|
|||
|
||||
nsCOMPtr<nsIPresShell> shell = getter_AddRefs(doc->GetShellAt(0));
|
||||
if (shell) {
|
||||
nsIFrame* childFrame;
|
||||
shell->GetPrimaryFrameFor(mBoundElement, &childFrame);
|
||||
nsCOMPtr<nsIDocumentObserver> obs(do_QueryInterface(shell));
|
||||
obs->ContentRemoved(doc, parent, mBoundElement, index);
|
||||
obs->ContentInserted(doc, parent, mBoundElement, index);
|
||||
if (!childFrame)
|
||||
obs->ContentInserted(doc, parent, mBoundElement, index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -141,9 +141,11 @@ struct nsXBLBindingRequest
|
|||
|
||||
nsCOMPtr<nsIPresShell> shell = getter_AddRefs(doc->GetShellAt(0));
|
||||
if (shell) {
|
||||
nsIFrame* childFrame;
|
||||
shell->GetPrimaryFrameFor(mBoundElement, &childFrame);
|
||||
nsCOMPtr<nsIDocumentObserver> obs(do_QueryInterface(shell));
|
||||
obs->ContentRemoved(doc, parent, mBoundElement, index);
|
||||
obs->ContentInserted(doc, parent, mBoundElement, index);
|
||||
if (!childFrame)
|
||||
obs->ContentInserted(doc, parent, mBoundElement, index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче