fix brace style (Nth follow-up for 560358).

This commit is contained in:
Andreas Gal 2010-04-28 19:13:03 -07:00
Родитель 162a44ede7
Коммит 02d05ae2f8
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -354,13 +354,15 @@ typedef struct REGlobalData {
} REGlobalData;
void
JSRegExpStatics::clearRoots() {
JSRegExpStatics::clearRoots()
{
input = NULL;
cx->runtime->gcPoke = JS_TRUE;
}
bool
JSRegExpStatics::copy(const JSRegExpStatics& other) {
JSRegExpStatics::copy(const JSRegExpStatics& other)
{
clearRoots();
input = other.input;
multiline = other.multiline;
@ -375,7 +377,8 @@ JSRegExpStatics::copy(const JSRegExpStatics& other) {
}
void
JSRegExpStatics::clear() {
JSRegExpStatics::clear()
{
clearRoots();
multiline = false;
lastMatch = lastParen = leftContext = rightContext = js_EmptySubString;