Return the result from process_content_box_request.

This commit is contained in:
Ms2ger 2015-10-26 10:32:49 +01:00
parent 60e60b6f8a
commit 68830ed66f
2 changed files with 7 additions and 7 deletions

View file

@ -1228,7 +1228,7 @@ impl LayoutTask {
if let Some(mut root_flow) = rw_data.layout_root() {
match data.query_type {
ReflowQueryType::ContentBoxQuery(node) =>
process_content_box_request(node, &mut root_flow, &mut rw_data),
rw_data.content_box_response = process_content_box_request(node, &mut root_flow),
ReflowQueryType::ContentBoxesQuery(node) =>
rw_data.content_boxes_response = process_content_boxes_request(node, &mut root_flow),
ReflowQueryType::NodeGeometryQuery(node) =>