mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
import from UXP: Issue #2452 - Fix getter constness (458f5eb3)
This commit is contained in:
@@ -1421,6 +1421,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();
|
||||
@@ -1508,7 +1510,7 @@ CycleCollectedJSContext::AfterProcessMicrotasks()
|
||||
}
|
||||
|
||||
uint32_t
|
||||
CycleCollectedJSContext::RecursionDepth()
|
||||
CycleCollectedJSContext::RecursionDepth() const
|
||||
{
|
||||
return mOwningThread->RecursionDepth();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user