diff --git a/mozglue/dllservices/LoaderObserver.cpp b/mozglue/dllservices/LoaderObserver.cpp index 27878cfef363..82aae36af0cd 100644 --- a/mozglue/dllservices/LoaderObserver.cpp +++ b/mozglue/dllservices/LoaderObserver.cpp @@ -61,7 +61,6 @@ void LoaderObserver::OnEndDllLoad(void* aContext, NTSTATUS aNtStatus, DesuppressStackWalking(); #endif - MOZ_ASSERT_IF(IsProfilerPresent(), aContext); UniquePtr loadContext(static_cast(aContext)); if (loadContext && IsValidProfilerLabel(loadContext->mProfilerLabel)) { ProfilerLabelEnd(loadContext->mProfilerLabel);