Address nits in patch for bug 257868. r+sr=roc

This commit is contained in:
bzbarsky@mit.edu 2007-07-23 18:19:43 -07:00
parent a9ea0aa1b3
commit 21505422b0
2 changed files with 2 additions and 3 deletions

View File

@ -286,8 +286,7 @@ NS_IMETHODIMP nsHTMLButtonAccessible::GetName(nsAString& aName)
nsIFrame* frame = GetFrame();
if (frame) {
nsIFormControlFrame* fcFrame;
frame->QueryInterface(NS_GET_IID(nsIFormControlFrame),
(void**) &fcFrame);
CallQueryInterface(frame, &fcFrame);
if (fcFrame)
fcFrame->GetFormProperty(nsAccessibilityAtoms::defaultLabel, name);
}

View File

@ -48,7 +48,7 @@
class nsPresContext;
class nsIFrame;
template <class T> class nsTArray;
// {7568a516-3831-4db4-88a7-a42578acc136}
#define NS_IANONYMOUS_CONTENT_CREATOR_IID \