From 77cb6426d51be0c7aa98bd64ad487e27618ca138 Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Fri, 19 Mar 2021 18:32:09 +0000 Subject: [PATCH] Bug 1699784 - Fix two 'outselves' typos. r=smaug DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D109106 --- dom/script/ScriptSettings.cpp | 2 +- js/xpconnect/src/XPCWrappedJS.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/script/ScriptSettings.cpp b/dom/script/ScriptSettings.cpp index 692851f0652d..153c2063f2ae 100644 --- a/dom/script/ScriptSettings.cpp +++ b/dom/script/ScriptSettings.cpp @@ -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; diff --git a/js/xpconnect/src/XPCWrappedJS.cpp b/js/xpconnect/src/XPCWrappedJS.cpp index 7b9729f990d1..8c756cba1d5b 100644 --- a/js/xpconnect/src/XPCWrappedJS.cpp +++ b/js/xpconnect/src/XPCWrappedJS.cpp @@ -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();