зеркало из https://github.com/mozilla/gecko-dev.git
Bug 756579 - nsXBLBinding::GetInsertionPointsFor is now infallible.
This commit is contained in:
Родитель
556a73089d
Коммит
8e8248a4d8
|
@ -1395,7 +1395,7 @@ nsXBLBinding::HasInsertionParent(nsIContent* aParent)
|
|||
return mNextBinding ? mNextBinding->HasInsertionParent(aParent) : false;
|
||||
}
|
||||
|
||||
nsresult
|
||||
void
|
||||
nsXBLBinding::GetInsertionPointsFor(nsIContent* aParent,
|
||||
nsInsertionPointList** aResult)
|
||||
{
|
||||
|
@ -1414,8 +1414,6 @@ nsXBLBinding::GetInsertionPointsFor(nsIContent* aParent,
|
|||
aParent->SetFlags(NODE_IS_INSERTION_PARENT);
|
||||
}
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsInsertionPointList*
|
||||
|
|
|
@ -89,8 +89,8 @@ public:
|
|||
|
||||
// Get the list of insertion points for aParent. The nsInsertionPointList
|
||||
// is owned by the binding, you should not delete it.
|
||||
nsresult GetInsertionPointsFor(nsIContent* aParent,
|
||||
nsInsertionPointList** aResult);
|
||||
void GetInsertionPointsFor(nsIContent* aParent,
|
||||
nsInsertionPointList** aResult);
|
||||
|
||||
nsInsertionPointList* GetExistingInsertionPointsFor(nsIContent* aParent);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче