summaryrefslogtreecommitdiff
path: root/xpcom/build/XPCOMInit.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-05-01 09:28:43 +0000
committerMoonchild <moonchild@palemoon.org>2022-05-01 09:28:43 +0000
commit633728842e06fc9d61228a98a1d077efa5bf5ff2 (patch)
tree9450f24188f6011588851d9fd42802d2524e2e4b /xpcom/build/XPCOMInit.cpp
parentbf110158b926f99fa36c180150d242453c8b0f95 (diff)
parentbc2841f9f916b2a6aade0cd6dae4a2e4407352b6 (diff)
downloaduxp-633728842e06fc9d61228a98a1d077efa5bf5ff2.tar.gz
Merge branch 'master' into vpx-format-update
Diffstat (limited to 'xpcom/build/XPCOMInit.cpp')
-rw-r--r--xpcom/build/XPCOMInit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp
index 3291c06c07..185a823155 100644
--- a/xpcom/build/XPCOMInit.cpp
+++ b/xpcom/build/XPCOMInit.cpp
@@ -1007,6 +1007,9 @@ ShutdownXPCOM(nsIServiceManager* aServMgr)
PROFILER_MARKER("Shutdown xpcom");
// If we are doing any shutdown checks, poison writes.
if (gShutdownChecks != SCM_NOTHING) {
+#ifdef XP_MACOSX
+ mozilla::OnlyReportDirtyWrites();
+#endif /* XP_MACOSX */
mozilla::BeginLateWriteChecks();
}