mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
LibWeb: Rename FormattingState::ensure() -> get_mutable()
This makes it much more obvious what the difference between get() and get_mutable() is.
This commit is contained in:
parent
0f15d1f947
commit
db5bf6e64c
10 changed files with 49 additions and 51 deletions
|
@ -12,7 +12,7 @@ namespace Web::Layout {
|
|||
LineBuilder::LineBuilder(InlineFormattingContext& context, FormattingState& formatting_state)
|
||||
: m_context(context)
|
||||
, m_formatting_state(formatting_state)
|
||||
, m_containing_block_state(formatting_state.ensure(context.containing_block()))
|
||||
, m_containing_block_state(formatting_state.get_mutable(context.containing_block()))
|
||||
{
|
||||
begin_new_line(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue