diff --git a/content/xbl/src/nsXBLBinding.cpp b/content/xbl/src/nsXBLBinding.cpp index a0c6f546f3f..cc41eeef2b8 100644 --- a/content/xbl/src/nsXBLBinding.cpp +++ b/content/xbl/src/nsXBLBinding.cpp @@ -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* diff --git a/content/xbl/src/nsXBLBinding.h b/content/xbl/src/nsXBLBinding.h index ef3e8714a0b..facec03f823 100644 --- a/content/xbl/src/nsXBLBinding.h +++ b/content/xbl/src/nsXBLBinding.h @@ -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);