зеркало из https://github.com/mozilla/gecko-dev.git
Minor cleanup - don't assume implementation details.
This commit is contained in:
Родитель
97a0bdb5a3
Коммит
bfd96752c6
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче