summaryrefslogtreecommitdiffstats
path: root/dom/xhr/XMLHttpRequestMainThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xhr/XMLHttpRequestMainThread.cpp')
-rw-r--r--dom/xhr/XMLHttpRequestMainThread.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/dom/xhr/XMLHttpRequestMainThread.cpp b/dom/xhr/XMLHttpRequestMainThread.cpp
index ace26f296f..e18800e24a 100644
--- a/dom/xhr/XMLHttpRequestMainThread.cpp
+++ b/dom/xhr/XMLHttpRequestMainThread.cpp
@@ -228,12 +228,19 @@ struct DebugWorkerRefs {
(((const std::ostringstream&)(std::ostringstream() << stuff)) \
.str()) // NOLINT
-# define DEBUG_WORKERREFS \
- DebugWorkerRefs MOZ_UNIQUE_VAR(debugWR__)(*this, __func__)
+# if 1 // Disabling because bug 1855699
+# define DEBUG_WORKERREFS void()
+# define DEBUG_WORKERREFS1(x) void()
+# else
-# define DEBUG_WORKERREFS1(x) \
- DebugWorkerRefs MOZ_UNIQUE_VAR(debugWR__)( \
- *this, STREAM_STRING(__func__ << ": " << x)) // NOLINT
+# define DEBUG_WORKERREFS \
+ DebugWorkerRefs MOZ_UNIQUE_VAR(debugWR__)(*this, __func__)
+
+# define DEBUG_WORKERREFS1(x) \
+ DebugWorkerRefs MOZ_UNIQUE_VAR(debugWR__)( \
+ *this, STREAM_STRING(__func__ << ": " << x)) // NOLINT
+
+# endif
#else
# define DEBUG_WORKERREFS void()