diff --git a/mozilla/editor/libeditor/html/nsWSRunObject.cpp b/mozilla/editor/libeditor/html/nsWSRunObject.cpp index fd884718902..2d3c3c267d7 100644 --- a/mozilla/editor/libeditor/html/nsWSRunObject.cpp +++ b/mozilla/editor/libeditor/html/nsWSRunObject.cpp @@ -1427,7 +1427,7 @@ nsWSRunObject::PrepareToDeleteRangePriv(nsWSRunObject* aEndObject) aEndObject->GetCharAfter(aEndObject->mNode, aEndObject->mOffset, &point); if (point.mTextNode && nsCRT::IsAsciiSpace(point.mChar)) { - res = ConvertToNBSP(point); + res = aEndObject->ConvertToNBSP(point); NS_ENSURE_SUCCESS(res, res); } }