2012-05-29 08:52:43 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2009-06-28 15:44:22 -07:00
|
|
|
|
2011-09-28 05:45:17 -07:00
|
|
|
protected:
|
2014-01-04 07:02:17 -08:00
|
|
|
nsHtml5UTF16Buffer(char16_t* aBuffer, int32_t aEnd);
|
2011-09-28 05:45:17 -07:00
|
|
|
~nsHtml5UTF16Buffer();
|
2009-10-12 06:08:04 -07:00
|
|
|
|
2011-09-28 05:45:17 -07:00
|
|
|
/**
|
|
|
|
* For working around the privacy of |buffer| in the generated code.
|
|
|
|
*/
|
|
|
|
void DeleteBuffer();
|
2011-10-29 13:14:31 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* For working around the privacy of |buffer| in the generated code.
|
|
|
|
*/
|
|
|
|
void Swap(nsHtml5UTF16Buffer* aOther);
|