Bug 1183085 - Update description for nsDisplayList methods; r=roc

AppendNewToTop and AppendNewToBottom do not return
NS_ERROR_OUT_OF_MEMORY now.
This commit is contained in:
Ting-Yu Lin 2015-07-13 21:44:11 +08:00
parent 58c790fc94
commit 2726b1a925

View File

@ -1615,8 +1615,8 @@ public:
}
/**
* Append a new item to the top of the list. If the item is null we return
* NS_ERROR_OUT_OF_MEMORY. The intended usage is AppendNewToTop(new ...);
* Append a new item to the top of the list. The intended usage is
* AppendNewToTop(new ...);
*/
void AppendNewToTop(nsDisplayItem* aItem) {
if (aItem) {
@ -1625,8 +1625,8 @@ public:
}
/**
* Append a new item to the bottom of the list. If the item is null we return
* NS_ERROR_OUT_OF_MEMORY. The intended usage is AppendNewToBottom(new ...);
* Append a new item to the bottom of the list. The intended usage is
* AppendNewToBottom(new ...);
*/
void AppendNewToBottom(nsDisplayItem* aItem) {
if (aItem) {