Closed
Bug 519875
Opened 16 years ago
Closed 16 years ago
SpacerFrame::GetType hides method inherited from nsFrame
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file)
2.73 KB,
patch
|
dbaron
:
review+
|
Details | Diff | Splinter Review |
The "SpacerFrame" class has a method called GetType, which conflicts with the inherited method from nsFrame and triggers this build warning:
> /mozilla/layout/generic/nsFrame.h:232: warning: ‘virtual nsIAtom* nsFrame::GetType() const’ was hidden
> /mozilla/layout/generic/nsSpacerFrame.cpp:68: warning: by ‘PRUint8 SpacerFrame::GetType()’
Attached patch fixes this with s/GetType/GetSpacerType/ in that file.
Attachment #403923 -
Flags: review?(dbaron)
Comment on attachment 403923 [details] [diff] [review]
fix
r=dbaron
Attachment #403923 -
Flags: review?(dbaron) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → dholbert
You need to log in
before you can comment on or make changes to this bug.
Description
•