diff --git a/dom/quota/QuotaCommon.cpp b/dom/quota/QuotaCommon.cpp index e26d497e1b99..443a1ea2c499 100644 --- a/dom/quota/QuotaCommon.cpp +++ b/dom/quota/QuotaCommon.cpp @@ -107,7 +107,7 @@ void AnonymizeOriginString(nsACString& aOriginString) { #ifdef XP_WIN void CacheUseDOSDevicePathSyntaxPrefValue() { MOZ_ASSERT(XRE_IsParentProcess()); - AssertIsOnBackgroundThread(); + ::mozilla::ipc::AssertIsOnBackgroundThread(); if (gUseDOSDevicePathSyntax == -1) { bool useDOSDevicePathSyntax = diff --git a/dom/security/nsContentSecurityUtils.cpp b/dom/security/nsContentSecurityUtils.cpp index a58a13dc3fd6..332830f13659 100644 --- a/dom/security/nsContentSecurityUtils.cpp +++ b/dom/security/nsContentSecurityUtils.cpp @@ -21,6 +21,7 @@ #include "nsNetUtil.h" #include "nsSandboxFlags.h" #if defined(XP_WIN) +# include "mozilla/WinHeaderOnlyUtils.h" # include "WinUtils.h" # include #endif