diff --git a/layout/generic/nsFirstLetterFrame.cpp b/layout/generic/nsFirstLetterFrame.cpp index 5573d7400b9f..025db74dfb7e 100644 --- a/layout/generic/nsFirstLetterFrame.cpp +++ b/layout/generic/nsFirstLetterFrame.cpp @@ -88,10 +88,9 @@ nsresult nsFirstLetterFrame::GetChildFrameContainingOffset( if (kid) { return kid->GetChildFrameContainingOffset( inContentOffset, inHint, outFrameContentOffset, outChildFrame); - } else { - return nsIFrame::GetChildFrameContainingOffset( - inContentOffset, inHint, outFrameContentOffset, outChildFrame); } + return nsIFrame::GetChildFrameContainingOffset( + inContentOffset, inHint, outFrameContentOffset, outChildFrame); } // Needed for non-floating first-letter frames and for the continuations