mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 14:54:25 +00:00
Issue #2452 - Fix getter constness
https://bugzilla.mozilla.org/show_bug.cgi?id=1443429 Pt. 2
This commit is contained in:
@@ -1394,6 +1394,8 @@ CycleCollectedJSContext::ProcessStableStateQueue()
|
||||
MOZ_RELEASE_ASSERT(!mDoingStableStates);
|
||||
mDoingStableStates = true;
|
||||
|
||||
// When run, one event can add another event to the mStableStateEvents, as
|
||||
// such you can't use iterators here.
|
||||
for (uint32_t i = 0; i < mStableStateEvents.Length(); ++i) {
|
||||
nsCOMPtr<nsIRunnable> event = mStableStateEvents[i].forget();
|
||||
event->Run();
|
||||
@@ -1481,7 +1483,7 @@ CycleCollectedJSContext::AfterProcessMicrotasks()
|
||||
}
|
||||
|
||||
uint32_t
|
||||
CycleCollectedJSContext::RecursionDepth()
|
||||
CycleCollectedJSContext::RecursionDepth() const
|
||||
{
|
||||
return mOwningThread->RecursionDepth();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user