[webkit-changes] [WebKit/WebKit] f95c85: RenderListBox::size() should be 'unsigned' instead...
Ahmad Saleem
noreply at github.com
Mon Jan 22 12:56:44 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f95c858b517e265064bba68c07f970beaf38394f
https://github.com/WebKit/WebKit/commit/f95c858b517e265064bba68c07f970beaf38394f
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M Source/WebCore/rendering/RenderListBox.cpp
M Source/WebCore/rendering/RenderListBox.h
Log Message:
-----------
RenderListBox::size() should be 'unsigned' instead of 'int'
https://bugs.webkit.org/show_bug.cgi?id=267854
Reviewed by Simon Fraser.
This patch is to align size() function with HTMLSelectElement `size`, which is 'unsigned long'
so 'int' should be aligned to have 'unsigned' as well in rendering code.
* Source/WebCore/rendering/RenderListBox.cpp:
(RenderListBox::size):
* Source/WebCore/rendering/RenderListBox.h:
Canonical link: https://commits.webkit.org/273312@main
More information about the webkit-changes
mailing list