mirror of
https://github.com/servo/servo.git
synced 2025-10-05 19:19:25 +01:00
Make get_nodes_under_mouse return Vec.
This commit is contained in:
parent
558986c87e
commit
20f649da71
3 changed files with 4 additions and 4 deletions
|
@ -459,7 +459,7 @@ impl Page {
|
|||
address
|
||||
}
|
||||
|
||||
pub fn get_nodes_under_mouse(&self, point: &Point2D<f32>) -> Option<~[UntrustedNodeAddress]> {
|
||||
pub fn get_nodes_under_mouse(&self, point: &Point2D<f32>) -> Option<Vec<UntrustedNodeAddress>> {
|
||||
let frame = self.frame();
|
||||
let document = frame.get_ref().document.clone();
|
||||
let root = document.get().GetDocumentElement();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue