Repository navigation
Reduce LayoutTaskData to the fields used for RPC. - #8378
Conversation
Ms2ger
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 |
|
☔ The latest upstream changes (presumably #8330) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (presumably #8355) made this pull request unmergeable. Please resolve the merge conflicts. |
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 -->
|
💔 Test failed - mac-rel-wpt |
|
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 |
|
⌛ Testing commit 1919e19 with merge 894ad95... |
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 -->
|
💔 Test failed - gonk |
|
@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 -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |