From 89fc9b26b66d41b5e03dc67ce3307655b3e02108 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Sun, 21 Dec 2003 21:42:55 +0000 Subject: [PATCH] Bug #229112 --> Unable to bring up a compose window in debug builds r/sr=bryner --- layout/xul/base/src/grid/nsGridRowLeafFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/xul/base/src/grid/nsGridRowLeafFrame.cpp b/layout/xul/base/src/grid/nsGridRowLeafFrame.cpp index 0a005e3ba8d0..926c0d5b2420 100644 --- a/layout/xul/base/src/grid/nsGridRowLeafFrame.cpp +++ b/layout/xul/base/src/grid/nsGridRowLeafFrame.cpp @@ -98,7 +98,7 @@ nsGridRowLeafFrame::GetBorderAndPadding(nsMargin& aBorderAndPadding) PRInt32 isHorizontal = IsHorizontal(); - nsBoxLayoutState state((nsIPresContext*)nsnull); + nsBoxLayoutState state((nsIPresContext*) GetPresContext()); PRInt32 firstIndex = 0; PRInt32 lastIndex = 0;