diff --git a/editor/libeditor/html/nsHTMLEditorStyle.cpp b/editor/libeditor/html/nsHTMLEditorStyle.cpp
index bd0d0919e03..acf45b305b9 100644
--- a/editor/libeditor/html/nsHTMLEditorStyle.cpp
+++ b/editor/libeditor/html/nsHTMLEditorStyle.cpp
@@ -970,8 +970,8 @@ nsHTMLEditor::GetInlinePropertyBase(nsIAtom *aProperty,
}
if (!useCSS) {
nsCOMPtr resultNode;
- IsTextPropertySetByContent(collapsedNode, aProperty, 0, 0,
- isSet, getter_AddRefs(resultNode));
+ IsTextPropertySetByContent(collapsedNode, aProperty, aAttribute, aValue,
+ isSet, getter_AddRefs(resultNode), outValue);
*aFirst = *aAny = *aAll = isSet;
return NS_OK;
}