зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1688503
- nsFirstLetterFrame.cpp: do not use 'else' after 'return' r=sylvestre
Removed the 'else' statement to resolve clang-tidy warning. Differential Revision: https://phabricator.services.mozilla.com/D103347
This commit is contained in:
Родитель
4da9196207
Коммит
9d84cab460
|
@ -88,11 +88,10 @@ nsresult nsFirstLetterFrame::GetChildFrameContainingOffset(
|
|||
if (kid) {
|
||||
return kid->GetChildFrameContainingOffset(
|
||||
inContentOffset, inHint, outFrameContentOffset, outChildFrame);
|
||||
} else {
|
||||
}
|
||||
return nsIFrame::GetChildFrameContainingOffset(
|
||||
inContentOffset, inHint, outFrameContentOffset, outChildFrame);
|
||||
}
|
||||
}
|
||||
|
||||
// Needed for non-floating first-letter frames and for the continuations
|
||||
// following the first-letter that we also use nsFirstLetterFrame for.
|
||||
|
|
Загрузка…
Ссылка в новой задаче