Closed Bug 1024459 Opened 12 years ago Closed 12 years ago

Define an out of line destructor for TextTrack so that we can forward delcare HTMLTrackElement in TextTrack.h

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

I have no idea how MSVC manages to compile this, this code is clearly incorrect!
This is required because the destructor for the nsRefPtr<HTMLTrackElement> member requires the full definition of the type.
Attachment #8439173 - Flags: review?(bzbarsky)
Assignee: nobody → ehsan
Blocks: winclang
(In reply to :Ehsan Akhgari (lagging on bugmail, needinfo? me!) from comment #0) > I have no idea how MSVC manages to compile this, this code is clearly > incorrect! Presumably because HTMLTrackElement.h ends up being included by other things... :(
See Also: → 1024463
Ping? :-) This should be very similar to the other patches like this.
Comment on attachment 8439173 [details] [diff] [review] Define an out of line destructor for TextTrack so that we can forward delcare HTMLTrackElement in TextTrack.h Er, I thought I'd stamped this one... r=me
Attachment #8439173 - Flags: review?(bzbarsky) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: