зеркало из https://github.com/mozilla/pjs.git
Fix non-debug build bustage.
This commit is contained in:
Родитель
670e8e9067
Коммит
612f7a4a84
|
@ -619,10 +619,10 @@ nsFieldSetFrame::RemoveFrame(nsIPresContext* aPresContext,
|
|||
// XXX XXX
|
||||
// XXX temporary fix for bug 70648
|
||||
if (aOldFrame == mLegendFrame) {
|
||||
#ifdef DEBUG
|
||||
nsIFrame* sibling;
|
||||
mContentFrame->GetNextSibling(&sibling);
|
||||
NS_ASSERTION(sibling == mLegendFrame, "legendFrame is not next sibling");
|
||||
#ifdef DEBUG
|
||||
nsIFrame* legendParent;
|
||||
mLegendFrame->GetParent(&legendParent);
|
||||
NS_ASSERTION(legendParent == this, "Legend Parent has wrong parent");
|
||||
|
|
|
@ -619,10 +619,10 @@ nsFieldSetFrame::RemoveFrame(nsIPresContext* aPresContext,
|
|||
// XXX XXX
|
||||
// XXX temporary fix for bug 70648
|
||||
if (aOldFrame == mLegendFrame) {
|
||||
#ifdef DEBUG
|
||||
nsIFrame* sibling;
|
||||
mContentFrame->GetNextSibling(&sibling);
|
||||
NS_ASSERTION(sibling == mLegendFrame, "legendFrame is not next sibling");
|
||||
#ifdef DEBUG
|
||||
nsIFrame* legendParent;
|
||||
mLegendFrame->GetParent(&legendParent);
|
||||
NS_ASSERTION(legendParent == this, "Legend Parent has wrong parent");
|
||||
|
|
Загрузка…
Ссылка в новой задаче