mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 835686: Mark debug-only variable as DebugOnly in transportlayer.h. r=ekr
This commit is contained in:
parent
dc9fba6cb1
commit
2a55410dd8
@ -11,6 +11,7 @@
|
||||
|
||||
#include "sigslot.h"
|
||||
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIEventTarget.h"
|
||||
@ -65,7 +66,7 @@ class TransportLayer : public sigslot::has_slots<> {
|
||||
if (target_) {
|
||||
nsIThread *thr;
|
||||
|
||||
nsresult rv = NS_GetCurrentThread(&thr);
|
||||
DebugOnly<nsresult> rv = NS_GetCurrentThread(&thr);
|
||||
MOZ_ASSERT(NS_SUCCEEDED(rv));
|
||||
|
||||
if (target_ != thr) {
|
||||
|
Loading…
Reference in New Issue
Block a user