Dequalify WindowContext and ViewContext references (#22477)
Release Notes: - N/A
This commit is contained in:
parent
016b5d60e1
commit
a15360bcc8
25 changed files with 43 additions and 51 deletions
|
@ -716,7 +716,7 @@ impl Element for List {
|
|||
fn request_layout(
|
||||
&mut self,
|
||||
_id: Option<&GlobalElementId>,
|
||||
cx: &mut crate::WindowContext,
|
||||
cx: &mut WindowContext,
|
||||
) -> (crate::LayoutId, Self::RequestLayoutState) {
|
||||
let layout_id = match self.sizing_behavior {
|
||||
ListSizingBehavior::Infer => {
|
||||
|
@ -827,7 +827,7 @@ impl Element for List {
|
|||
bounds: Bounds<crate::Pixels>,
|
||||
_: &mut Self::RequestLayoutState,
|
||||
prepaint: &mut Self::PrepaintState,
|
||||
cx: &mut crate::WindowContext,
|
||||
cx: &mut WindowContext,
|
||||
) {
|
||||
cx.with_content_mask(Some(ContentMask { bounds }), |cx| {
|
||||
for item in &mut prepaint.layout.item_layouts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue