зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1699784 - Fix two 'outselves' typos. r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D109106
This commit is contained in:
Родитель
c25fad5446
Коммит
77cb6426d5
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче