Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReduce LayoutTaskData to the fields used for RPC. #8378
Conversation
highfive
commented
Nov 6, 2015
|
Nice simplification... except that I'll have to redo large chunks of it to rebase #7524 on top of this. The problem is that if you have an Review status: 0 of 9 files reviewed at latest revision, 1 unresolved discussion. components/layout/layout_task.rs, line 332 [r1] (raw file): Comments from the review on Reviewable.io |
|
I think anything that prevents us from using Review status: 0 of 9 files reviewed at latest revision, 1 unresolved discussion. components/layout/layout_task.rs, line 332 [r1] (raw file): Comments from the review on Reviewable.io |
|
|
|
|
There is no good reason to have the two types. This also means that the result of LayoutTask::profiler_metadata no longer borrows the LayoutTask, which I'll need later.
…tTask::handle_request. This ensures no fields of the LayoutTask are borrowed when calling repaint or handle_request_helper, which I'll need later.
As the LayoutTask is uniquely owned, and we no longer have borrows of its fields hanging around, we can use mutable references to simplify some code.
It does not use self.
This matches LayoutTask::solve_constraints, and will be necessary when we borrow parallel_traversal directly from the LayoutTask.
…sk::prepare_to_exit.
Reduce LayoutTaskData to the fields used for RPC. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8378) <!-- Reviewable:end -->
|
|
|
Looking at the failure in the reftest analyzer, the screenshot is blank. Can you reproduce this failure? |
|
The failed test is blank, white; given that the test has a green background, most likely reflow didn't finish before the screenshot was taken. Probably just an intermittent failure which happened to show up here, but I'll look a little more. |
|
@bors-servo retry #8435 |
Reduce LayoutTaskData to the fields used for RPC. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8378) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Reduce LayoutTaskData to the fields used for RPC. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8378) <!-- Reviewable:end -->
|
|
Ms2ger commentedNov 6, 2015