Closed Bug 519875 Opened 16 years ago Closed 16 years ago

SpacerFrame::GetType hides method inherited from nsFrame

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: dholbert)

Details

Attachments

(1 file)

Attached patch fixSplinter 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)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee: nobody → dholbert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: