Add a null check.
git-svn-id: svn://10.0.0.236/trunk@69473 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -611,7 +611,8 @@ NS_IMETHODIMP nsFileControlFrame::GetProperty(nsIAtom* aName, nsString& aValue)
|
||||
|
||||
#ifndef DEBUG_NEWFRAME
|
||||
if (nsHTMLAtoms::value == aName) {
|
||||
mTextFrame->GetTextControlFrameState(aValue);
|
||||
if (mTextFrame)
|
||||
mTextFrame->GetTextControlFrameState(aValue);
|
||||
}
|
||||
#endif
|
||||
return NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user