summaryrefslogtreecommitdiffstats
path: root/dom/smil
diff options
context:
space:
mode:
Diffstat (limited to 'dom/smil')
-rw-r--r--dom/smil/SMILAnimationController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/smil/SMILAnimationController.cpp b/dom/smil/SMILAnimationController.cpp
index 2c103b0f16..99abc07b58 100644
--- a/dom/smil/SMILAnimationController.cpp
+++ b/dom/smil/SMILAnimationController.cpp
@@ -51,8 +51,8 @@ SMILAnimationController::~SMILAnimationController() {
NS_ASSERTION(mAnimationElementTable.IsEmpty(),
"Animation controller shouldn't be tracking any animation"
" elements when it dies");
- NS_ASSERTION(!mRegisteredWithRefreshDriver,
- "Leaving stale entry in refresh driver's observer list");
+ MOZ_RELEASE_ASSERT(!mRegisteredWithRefreshDriver,
+ "Leaving stale entry in refresh driver's observer list");
}
void SMILAnimationController::Disconnect() {