fix time measure

This commit is contained in:
csmoe 2018-03-22 12:27:38 +08:00
parent 98fe118be4
commit 054d65763d
6 changed files with 29 additions and 32 deletions

View file

@ -1375,7 +1375,7 @@ impl Window {
}
pub fn layout_reflow(&self, query_msg: QueryMsg) -> bool {
self.reflow(ReflowGoal::LayoutQuery(query_msg, 0u64), ReflowReason::Query)
self.reflow(ReflowGoal::LayoutQuery(query_msg, time::precise_time_ns()), ReflowReason::Query)
}
pub fn layout(&self) -> &LayoutRPC {