зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 78c1e9b63491 (bug 979951) for m-bc bustage
This commit is contained in:
Родитель
006d4b42d4
Коммит
30b8684198
|
@ -2142,13 +2142,7 @@ WorkerPrivateParent<Derived>::WrapObject(JSContext* aCx,
|
||||||
|
|
||||||
AssertIsOnParentThread();
|
AssertIsOnParentThread();
|
||||||
|
|
||||||
JSObject* wrapper =
|
return WorkerBinding::Wrap(aCx, aScope, ParentAsWorkerPrivate());
|
||||||
WorkerBinding::Wrap(aCx, aScope, ParentAsWorkerPrivate());
|
|
||||||
if (wrapper) {
|
|
||||||
MOZ_ALWAYS_TRUE(TryPreserveWrapper(wrapper));
|
|
||||||
}
|
|
||||||
|
|
||||||
return wrapper;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class Derived>
|
template <class Derived>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче