mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
Get the Inherited superclasses right. Suggested and reviewed by pierre.
This commit is contained in:
parent
94c32d7b27
commit
b1484ea0ab
@ -429,7 +429,7 @@ nsGfxTextControlFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||
// Allow the base class to handle common attributes supported
|
||||
// by all form elements...
|
||||
else {
|
||||
result = nsFormControlFrame::AttributeChanged(aPresContext, aChild, aAttribute, aHint);
|
||||
result = nsTextControlFrame::AttributeChanged(aPresContext, aChild, aAttribute, aHint);
|
||||
}
|
||||
|
||||
// DUMMY
|
||||
|
@ -374,7 +374,7 @@ protected:
|
||||
class nsGfxTextControlFrame : public nsTextControlFrame
|
||||
{
|
||||
private:
|
||||
typedef nsFormControlFrame Inherited;
|
||||
typedef nsTextControlFrame Inherited;
|
||||
|
||||
public:
|
||||
nsGfxTextControlFrame();
|
||||
|
@ -27,7 +27,7 @@ class nsIPresContext;
|
||||
class nsNativeTextControlFrame : public nsTextControlFrame
|
||||
{
|
||||
private:
|
||||
typedef nsNativeFormControlFrame Inherited;
|
||||
typedef nsTextControlFrame Inherited;
|
||||
|
||||
public:
|
||||
// nsIFormControlFrame
|
||||
|
Loading…
x
Reference in New Issue
Block a user