mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
introduce layout query timestamp
This commit is contained in:
parent
df6b64181b
commit
98fe118be4
9 changed files with 50 additions and 8 deletions
|
@ -1968,8 +1968,7 @@ impl Document {
|
|||
client_point: &Point2D<f32>,
|
||||
reflow_goal: NodesFromPointQueryType)
|
||||
-> Vec<UntrustedNodeAddress> {
|
||||
if !self.window.reflow(ReflowGoal::LayoutQuery(QueryMsg::NodesFromPointQuery(*client_point, reflow_goal), u64::default()),
|
||||
ReflowReason::Query) {
|
||||
if !self.window.layout_reflow(QueryMsg::NodesFromPointQuery(*client_point, reflow_goal)) {
|
||||
return vec!();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue