зеркало из https://github.com/mozilla/gecko-dev.git
Fix comment, per bug 520661 comment 4.
This commit is contained in:
Родитель
e21ff412f5
Коммит
4677b73925
|
@ -169,10 +169,7 @@ nsDeque& nsDeque::Erase() {
|
|||
* If the deque actually overflows, there's very little we can do.
|
||||
* Perhaps this function should return PRBool/nsresult indicating success/failure.
|
||||
*
|
||||
* @return capacity of the deque
|
||||
* If the deque did not grow,
|
||||
* and you knew its capacity beforehand,
|
||||
* then this would be a way to indicate the failure.
|
||||
* @return whether growing succeeded
|
||||
*/
|
||||
PRBool nsDeque::GrowCapacity() {
|
||||
PRInt32 theNewSize=mCapacity<<2;
|
||||
|
|
Загрузка…
Ссылка в новой задаче