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
Родитель c9cd646ff5
Коммит bcbacfe511
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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