mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 810644 followup to fix -Werror red in opt builds. r=bustage
This commit is contained in:
parent
5399e26bf2
commit
8a9421c372
@ -1390,7 +1390,7 @@ nsGlobalWindow::UnmarkGrayTimers()
|
|||||||
Function* f = timeout->mScriptHandler->GetCallback();
|
Function* f = timeout->mScriptHandler->GetCallback();
|
||||||
if (f) {
|
if (f) {
|
||||||
// Callable() already does xpc_UnmarkGrayObject.
|
// Callable() already does xpc_UnmarkGrayObject.
|
||||||
JSObject* o = f->Callable();
|
DebugOnly<JSObject*> o = f->Callable();
|
||||||
MOZ_ASSERT(!xpc_IsGrayGCThing(o), "Should have been unmarked");
|
MOZ_ASSERT(!xpc_IsGrayGCThing(o), "Should have been unmarked");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user