Bug 1903141 Part 2 - Annotate EnsurePushedFloats() as MOZ_NONNULL_RETURN. r=dholbert

`EnsurePushedFloats()` either returns the existing pushed floats list or creates
a new empty one. Therefore, it can never return nullptr.

Differential Revision: https://phabricator.services.mozilla.com/D214045
This commit is contained in:
Ting-Yu Lin 2024-06-18 20:13:54 +00:00
Родитель fda2f65b44
Коммит 11ae833dc9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -977,7 +977,7 @@ class nsBlockFrame : public nsContainerFrame {
// Get the pushed floats list, or if there is not currently one,
// make a new empty one.
nsFrameList* EnsurePushedFloats();
nsFrameList* EnsurePushedFloats() MOZ_NONNULL_RETURN;
// Get the pushed float list and remove the property from this frame.
//