Bug 1428605 - Add JS:: namespace to API where it's missing. r=sfink

This commit is contained in:
Philip Chimento
2018-01-07 19:08:33 -08:00
parent 11429c94c8
commit 35939c7304
8 changed files with 19 additions and 10 deletions

View File

@@ -250,7 +250,7 @@ CycleCollectedJSContext::EnqueuePromiseJobCallback(JSContext* aCx,
void
CycleCollectedJSContext::PromiseRejectionTrackerCallback(JSContext* aCx,
JS::HandleObject aPromise,
PromiseRejectionHandlingState state,
JS::PromiseRejectionHandlingState state,
void* aData)
{
#ifdef DEBUG
@@ -259,7 +259,7 @@ CycleCollectedJSContext::PromiseRejectionTrackerCallback(JSContext* aCx,
MOZ_ASSERT(aCx == self->Context());
MOZ_ASSERT(Get() == self);
if (state == PromiseRejectionHandlingState::Unhandled) {
if (state == JS::PromiseRejectionHandlingState::Unhandled) {
PromiseDebugging::AddUncaughtRejection(aPromise);
} else {
PromiseDebugging::AddConsumedRejection(aPromise);