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 upborder: Get rid of BorderCornerClipSource. #3054
Conversation
|
r? @kvark or anyone else? I'm sorry, github is terrible at flagging indentation changes. :( |
a few notes, no blockers
webrender/src/border.rs, line 244 at r1 (raw file):
let's have it starting with a verb, since it's not an accessor method webrender/src/border.rs, line 253 at r1 (raw file):
webrender/src/border.rs, line 260 at r1 (raw file):
nit: could use vector operations? webrender/src/border.rs, line 282 at r1 (raw file):
uuh, anticipating rebase issues in #3049 |
Instead, just add functions to add the instances directly, avoiding the intermediate allocation and deindenting a bunch of the code. This should have no behavior change.
I couldn't do this: no implementation for |
|
@bors-servo r=kvark |
|
|
|
(Rest of comments should be addressed) |
border: Get rid of BorderCornerClipSource. Instead, just add functions to add the instances directly, avoiding the intermediate allocation and deindenting a bunch of the code. This should have no behavior change. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3054) <!-- Reviewable:end -->
|
|
emilio commentedSep 13, 2018
•
edited by larsbergstrom
Instead, just add functions to add the instances directly, avoiding the
intermediate allocation and deindenting a bunch of the code.
This should have no behavior change.
This change is