Bug 803669 - followup fix; r=bustage

This commit is contained in:
Nathan Froyd 2012-10-31 12:31:36 -04:00
parent 0469a02b25
commit c13593d3b1

View File

@ -75,6 +75,12 @@ class nsScannerBufferList
const PRUnichar* DataEnd() const { return mDataEnd; }
PRUnichar* DataEnd() { return mDataEnd; }
const Buffer* Next() const { return getNext(); }
Buffer* Next() { return getNext(); }
const Buffer* Prev() const { return getPrevious(); }
Buffer* Prev() { return getPrevious(); }
uint32_t DataLength() const { return mDataEnd - DataStart(); }
void SetDataLength(uint32_t len) { mDataEnd = DataStart() + len; }