зеркало из https://github.com/mozilla/gecko-dev.git
Bug 526178 followup. Remove now-unused AutoEnqueueBinding.
This commit is contained in:
Родитель
f27631a155
Коммит
fa97dee7a1
|
@ -1424,30 +1424,6 @@ MoveChildrenTo(nsPresContext* aPresContext,
|
|||
|
||||
// -----------------------------------------------------------
|
||||
|
||||
|
||||
// Structure used to ensure that bindings are properly enqueued in the
|
||||
// binding manager's attached queue.
|
||||
struct NS_STACK_CLASS nsAutoEnqueueBinding
|
||||
{
|
||||
nsAutoEnqueueBinding(nsIDocument* aDocument) :
|
||||
mDocument(aDocument)
|
||||
{}
|
||||
|
||||
~nsAutoEnqueueBinding();
|
||||
|
||||
nsRefPtr<nsXBLBinding> mBinding;
|
||||
private:
|
||||
nsIDocument* mDocument;
|
||||
};
|
||||
|
||||
nsAutoEnqueueBinding::~nsAutoEnqueueBinding()
|
||||
{
|
||||
if (mBinding) {
|
||||
mDocument->BindingManager()->AddToAttachedQueue(mBinding);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Helper function that determines the child list name that aChildFrame
|
||||
// is contained in
|
||||
static nsIAtom*
|
||||
|
|
Загрузка…
Ссылка в новой задаче