From bcbacfe511f59195fade6a5344d76f70caa42aa9 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 24 Dec 2009 19:18:32 -0500 Subject: [PATCH] Bug 500882 another followup. This assertion is currently false for comboboxes; we need to fix them first. Needed to fix orange. --- content/base/public/nsIContent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/base/public/nsIContent.h b/content/base/public/nsIContent.h index 02a526ea7230..738016b7cf82 100644 --- a/content/base/public/nsIContent.h +++ b/content/base/public/nsIContent.h @@ -865,8 +865,8 @@ public: */ nsIFrame* GetPrimaryFrame() const { return mPrimaryFrame; } void SetPrimaryFrame(nsIFrame* aFrame) { - NS_PRECONDITION(!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame, - "Losing track of existing primary frame"); + NS_WARN_IF_FALSE(!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame, + "Losing track of existing primary frame"); mPrimaryFrame = aFrame; }