Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -226,7 +226,7 @@ nsFormControlFrame::Reflow(nsIPresContext& aPresContext,
|
||||
PRBool requiresWidget = PR_TRUE;
|
||||
|
||||
// Checkto see if the device context supports widgets at all
|
||||
if (nsnull != dx) {
|
||||
if (dx) {
|
||||
dx->SupportsNativeWidgets(requiresWidget);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user