summaryrefslogtreecommitdiffstats
path: root/gfx/2d/DrawEventRecorder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/2d/DrawEventRecorder.cpp')
-rw-r--r--gfx/2d/DrawEventRecorder.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gfx/2d/DrawEventRecorder.cpp b/gfx/2d/DrawEventRecorder.cpp
index 967c02f8a0..51f8b836ec 100644
--- a/gfx/2d/DrawEventRecorder.cpp
+++ b/gfx/2d/DrawEventRecorder.cpp
@@ -16,9 +16,7 @@ namespace gfx {
DrawEventRecorderPrivate::DrawEventRecorderPrivate() : mExternalFonts(false) {}
-DrawEventRecorderPrivate::~DrawEventRecorderPrivate() {
- NS_ASSERT_OWNINGTHREAD(DrawEventRecorderPrivate);
-}
+DrawEventRecorderPrivate::~DrawEventRecorderPrivate() = default;
void DrawEventRecorderPrivate::SetDrawTarget(ReferencePtr aDT) {
NS_ASSERT_OWNINGTHREAD(DrawEventRecorderPrivate);