diff --git a/mozilla/layout/forms/nsFileControlFrame.cpp b/mozilla/layout/forms/nsFileControlFrame.cpp index c263f53a4e6..8d648f7c617 100644 --- a/mozilla/layout/forms/nsFileControlFrame.cpp +++ b/mozilla/layout/forms/nsFileControlFrame.cpp @@ -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) { diff --git a/mozilla/layout/html/forms/src/nsFileControlFrame.cpp b/mozilla/layout/html/forms/src/nsFileControlFrame.cpp index c263f53a4e6..8d648f7c617 100644 --- a/mozilla/layout/html/forms/src/nsFileControlFrame.cpp +++ b/mozilla/layout/html/forms/src/nsFileControlFrame.cpp @@ -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) {