зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7fef388bc6cf (bug 1224664)
This commit is contained in:
Родитель
dfb8831da1
Коммит
10cd9bcc48
|
@ -119,7 +119,7 @@ public:
|
|||
}
|
||||
|
||||
~TErrorResult() {
|
||||
AssertInOwningThread();
|
||||
NS_ASSERT_OWNINGTHREAD(TErrorResult);
|
||||
|
||||
if (CleanupPolicy::assertHandled) {
|
||||
// Consumers should have called one of MaybeSetPendingException
|
||||
|
@ -366,10 +366,8 @@ private:
|
|||
#endif // DEBUG
|
||||
}
|
||||
|
||||
MOZ_ALWAYS_INLINE void AssertInOwningThread() const {
|
||||
#ifdef DEBUG
|
||||
void AssertInOwningThread() const {
|
||||
NS_ASSERT_OWNINGTHREAD(TErrorResult);
|
||||
#endif
|
||||
}
|
||||
|
||||
void AssignErrorCode(nsresult aRv) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче