diff --git a/editor/libeditor/html/nsHTMLEditRules.cpp b/editor/libeditor/html/nsHTMLEditRules.cpp
index c4812cf6c47..212c49ed0d6 100644
--- a/editor/libeditor/html/nsHTMLEditRules.cpp
+++ b/editor/libeditor/html/nsHTMLEditRules.cpp
@@ -9203,7 +9203,7 @@ void
nsHTMLEditRules::DocumentModifiedWorker()
{
if (!mHTMLEditor) {
- return NS_OK;
+ return;
}
nsCOMPtr kungFuDeathGrip(mHTMLEditor);
nsCOMPtr selection;