diff options
Diffstat (limited to 'components/layout_thread_2020')
-rw-r--r-- | components/layout_thread_2020/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs index 56bbd204e78..793e3a2f665 100644 --- a/components/layout_thread_2020/lib.rs +++ b/components/layout_thread_2020/lib.rs @@ -469,7 +469,7 @@ impl LayoutThread { content_boxes_response: Vec::new(), client_rect_response: Rect::zero(), scroll_id_response: None, - scroll_area_response: Rect::zero(), + scrolling_area_response: Rect::zero(), resolved_style_response: String::new(), resolved_font_style_response: None, offset_parent_response: OffsetParentResponse::empty(), @@ -817,8 +817,8 @@ impl LayoutThread { &QueryMsg::ClientRectQuery(_) => { rw_data.client_rect_response = Rect::zero(); }, - &QueryMsg::NodeScrollGeometryQuery(_) => { - rw_data.scroll_area_response = Rect::zero(); + &QueryMsg::ScrollingAreaQuery(_) => { + rw_data.scrolling_area_response = Rect::zero(); }, &QueryMsg::NodeScrollIdQuery(_) => { rw_data.scroll_id_response = None; @@ -1096,8 +1096,8 @@ impl LayoutThread { rw_data.client_rect_response = process_node_geometry_request(node, self.fragment_tree.borrow().clone()); }, - &QueryMsg::NodeScrollGeometryQuery(node) => { - rw_data.scroll_area_response = + &QueryMsg::ScrollingAreaQuery(node) => { + rw_data.scrolling_area_response = process_node_scroll_area_request(node, self.fragment_tree.borrow().clone()); }, &QueryMsg::NodeScrollIdQuery(node) => { |