зеркало из https://github.com/mozilla/gecko-dev.git
fix brace style (Nth follow-up for 560358).
This commit is contained in:
Родитель
162a44ede7
Коммит
02d05ae2f8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче