Bug 1699784 - Fix two 'outselves' typos. r=smaug DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D109106
This commit is contained in:
Andrew McCreight 2021-03-19 18:32:09 +00:00
Родитель c25fad5446
Коммит 77cb6426d5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -298,7 +298,7 @@ AutoJSAPI::~AutoJSAPI() {
if (!mCx) {
// No need to do anything here: we never managed to Init, so can't have an
// exception on our (nonexistent) JSContext. We also don't need to restore
// any state on it. Finally, we never made it to pushing outselves onto the
// any state on it. Finally, we never made it to pushing ourselves onto the
// ScriptSettingsStack, so shouldn't pop.
MOZ_ASSERT(ScriptSettingsStack::Top() != this);
return;

Просмотреть файл

@ -281,7 +281,7 @@ MozExternalRefCountType nsXPCWrappedJS::Release(void) {
}
// If we are not a root wrapper being used from a weak reference,
// then the extra ref is not needed and we can let outselves be
// then the extra ref is not needed and we can let ourselves be
// deleted.
if (!HasWeakReferences()) {
return Release();