Make get_nodes_under_mouse return Vec.

This commit is contained in:
Ms2ger 2014-04-26 12:25:50 +02:00
parent 558986c87e
commit 20f649da71
3 changed files with 4 additions and 4 deletions

View file

@ -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();