diff --git a/editor/base/nsWSRunObject.cpp b/editor/base/nsWSRunObject.cpp index 82458a60622..1624abac11f 100644 --- a/editor/base/nsWSRunObject.cpp +++ b/editor/base/nsWSRunObject.cpp @@ -62,10 +62,10 @@ mNode() ,mOffset(0) ,mStartNode() ,mStartOffset(0) -,mStartReason() +,mStartReason(0) ,mEndNode() ,mEndOffset(0) -,mEndReason() +,mEndReason(0) ,mFirstNBSPNode() ,mFirstNBSPOffset(0) ,mLastNBSPNode() @@ -83,9 +83,10 @@ mNode(aNode) ,mOffset(aOffset) ,mStartNode() ,mStartOffset(0) +,mStartReason(0) ,mEndNode() ,mEndOffset(0) -,mEndReason() +,mEndReason(0) ,mFirstNBSPNode() ,mFirstNBSPOffset(0) ,mLastNBSPNode() diff --git a/editor/libeditor/html/nsWSRunObject.cpp b/editor/libeditor/html/nsWSRunObject.cpp index 82458a60622..1624abac11f 100644 --- a/editor/libeditor/html/nsWSRunObject.cpp +++ b/editor/libeditor/html/nsWSRunObject.cpp @@ -62,10 +62,10 @@ mNode() ,mOffset(0) ,mStartNode() ,mStartOffset(0) -,mStartReason() +,mStartReason(0) ,mEndNode() ,mEndOffset(0) -,mEndReason() +,mEndReason(0) ,mFirstNBSPNode() ,mFirstNBSPOffset(0) ,mLastNBSPNode() @@ -83,9 +83,10 @@ mNode(aNode) ,mOffset(aOffset) ,mStartNode() ,mStartOffset(0) +,mStartReason(0) ,mEndNode() ,mEndOffset(0) -,mEndReason() +,mEndReason(0) ,mFirstNBSPNode() ,mFirstNBSPOffset(0) ,mLastNBSPNode()