From 7ea84c7e93bad79bdb8b963d018e14776adbe27a Mon Sep 17 00:00:00 2001 From: "pollmann%netscape.com" Date: Thu, 16 Sep 1999 20:26:44 +0000 Subject: [PATCH] Minor cleanup - don't assume implementation details. git-svn-id: svn://10.0.0.236/trunk@47826 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/forms/nsFileControlFrame.cpp | 2 +- mozilla/layout/html/forms/src/nsFileControlFrame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {