summaryrefslogtreecommitdiffstats
path: root/dom/media/VideoSegment.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-12-13 13:59:17 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-12-13 14:08:12 +0100
commita2638c7b2f9d1a04df580569d6235e0d411b56d8 (patch)
treeceba93bbdb837503e19788730ae008be04fa5585 /dom/media/VideoSegment.h
parentd2d0044421c02c89790a17555abdd20d40902076 (diff)
downloadUXP-a2638c7b2f9d1a04df580569d6235e0d411b56d8.tar
UXP-a2638c7b2f9d1a04df580569d6235e0d411b56d8.tar.gz
UXP-a2638c7b2f9d1a04df580569d6235e0d411b56d8.tar.lz
UXP-a2638c7b2f9d1a04df580569d6235e0d411b56d8.tar.xz
UXP-a2638c7b2f9d1a04df580569d6235e0d411b56d8.zip
Clear CanvasShutdownObserver::mCanvas when the canvas goes away.
This is fallout from Bug 1167235 - Use a fast method of double buffering for canvas. It is possible for the CanvasRenderingContext2D to be destroyed while we're in the middle of the call to nsObserverService::NotifyObservers() for shutdown. This leaves the shutdown observer with a dangling pointer to the canvas, so this patch explicitly clears the pointer when the context goes away.
Diffstat (limited to 'dom/media/VideoSegment.h')
0 files changed, 0 insertions, 0 deletions