Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -366,8 +366,7 @@ NS_IMETHODIMP nsFileControlFrame::Reflow(nsIPresContext* aPresContext,
|
||||
if (NS_SUCCEEDED(rv) && mTextFrame != nsnull) {
|
||||
const nsStyleVisibility* vis = GetStyleVisibility();
|
||||
|
||||
nsIFrame * child;
|
||||
FirstChild(aPresContext, nsnull, &child);
|
||||
nsIFrame* child = GetFirstChild(nsnull);
|
||||
if (child == mTextFrame) {
|
||||
child = child->GetNextSibling();
|
||||
}
|
||||
@@ -441,8 +440,7 @@ nsFileControlFrame::GetTextControlFrame(nsIPresContext* aPresContext, nsIFrame*
|
||||
nsNewFrame* result = nsnull;
|
||||
#ifndef DEBUG_NEWFRAME
|
||||
// find the text control frame.
|
||||
nsIFrame* childFrame = nsnull;
|
||||
aStart->FirstChild(aPresContext, nsnull, &childFrame);
|
||||
nsIFrame* childFrame = aStart->GetFirstChild(nsnull);
|
||||
|
||||
while (childFrame) {
|
||||
// see if the child is a text control
|
||||
|
||||
Reference in New Issue
Block a user