1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

LibWeb: Declare overflow_value_makes_box_a_scroll_container as static

It is only used in this file, and not being declared static gives a "no
previous declaration" error.
This commit is contained in:
Timothy Flynn 2023-03-26 10:38:05 -04:00
parent f251ff0521
commit b3d033f027

View file

@ -30,7 +30,7 @@ Box::~Box()
}
// https://www.w3.org/TR/css-overflow-3/#overflow-control
bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow)
static bool overflow_value_makes_box_a_scroll_container(CSS::Overflow overflow)
{
switch (overflow) {
case CSS::Overflow::Clip: