Minor cleanup - don't assume implementation details.
git-svn-id: svn://10.0.0.236/trunk@47826 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -518,7 +518,7 @@ nsFileControlFrame::SaveState(nsISupports** aState)
|
||||
{
|
||||
nsISupportsString* value = nsnull;
|
||||
nsAutoString string;
|
||||
nsresult res = mTextFrame->GetProperty(nsHTMLAtoms::value, string);
|
||||
nsresult res = GetProperty(nsHTMLAtoms::value, string);
|
||||
if (NS_SUCCEEDED(res)) {
|
||||
char* chars = string.ToNewCString();
|
||||
if (chars) {
|
||||
|
||||
Reference in New Issue
Block a user