Closed Bug 747825 Opened 13 years ago Closed 13 years ago

Make WebGLContext an nsWrapperCache

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file, 3 obsolete files)

We'll need this for the new DOM bindings.
Blocks: 745897
Whiteboard: [need review]
Attachment #617386 - Flags: review?(peterv)
Attachment #617391 - Flags: review?(peterv)
Attachment #617386 - Attachment is obsolete: true
Attachment #617386 - Flags: review?(peterv)
Attachment #617394 - Flags: review?(peterv)
Attachment #617391 - Attachment is obsolete: true
Attachment #617391 - Flags: review?(peterv)
Comment on attachment 617394 [details] [diff] [review] Make the WebGLContext a wrapper cache. Review of attachment 617394 [details] [diff] [review]: ----------------------------------------------------------------- I think you also need to add a PreCreate hook :-/. Otherwise we might create a WN in a scope other than the parent object's scope, which is then the only real wrapper for that WebGLContext.
Aha! Yes, makes sense. That's why you're tagged as the reviewer! ;)
Attachment #617772 - Flags: review?(peterv)
Attachment #617394 - Attachment is obsolete: true
Attachment #617394 - Flags: review?(peterv)
Attachment #617772 - Flags: review?(peterv) → review+
Flags: in-testsuite?
Whiteboard: [need review]
Target Milestone: --- → mozilla15
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: