Bug 500882 another followup. This assertion is currently false for comboboxes; we need to fix them first. Needed to fix orange.

This commit is contained in:
Boris Zbarsky 2009-12-24 19:18:32 -05:00
parent c9cd646ff5
commit bcbacfe511

View File

@ -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;
}