diff --git a/js/src/xpconnect/src/xpcprivate.h b/js/src/xpconnect/src/xpcprivate.h index 88ee0e168146..cdfffcd2bf8a 100644 --- a/js/src/xpconnect/src/xpcprivate.h +++ b/js/src/xpconnect/src/xpcprivate.h @@ -1163,7 +1163,6 @@ public: private: void ctorCommon(XPCContext::LangType type) { - NS_WARN_IF_FALSE(mXPCContext,"bad context in AutoPushCallingLangType"); if(mXPCContext) mOldCallingLangType = mXPCContext->SetCallingLangType(type); #ifdef DEBUG