diff --git a/editor/libeditor/EditorDOMPoint.h b/editor/libeditor/EditorDOMPoint.h index df8163a17bf4..d698a18c11a8 100644 --- a/editor/libeditor/EditorDOMPoint.h +++ b/editor/libeditor/EditorDOMPoint.h @@ -495,7 +495,7 @@ class EditorDOMPointBase final { nsINode* parent; for (parent = mParent->GetParentNode(); parent && parent->IsInNativeAnonymousSubtree(); - parent = mParent->GetParentNode()) { + parent = parent->GetParentNode()) { } if (!parent) { return EditorRawDOMPoint();