mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Try to use
WebRender types more
The newer versions of WebRender move types around between `webrender` and `webrender_api` and this will reduce the churn during the upgrade.
This commit is contained in:
parent
1543912589
commit
3230162fd0
39 changed files with 330 additions and 327 deletions
|
@ -66,7 +66,7 @@ pub(super) fn build_linear(
|
|||
) {
|
||||
use style::values::specified::position::HorizontalPositionKeyword::*;
|
||||
use style::values::specified::position::VerticalPositionKeyword::*;
|
||||
use webrender_api::units::LayoutVector2D as Vec2;
|
||||
use units::LayoutVector2D as Vec2;
|
||||
let gradient_box = layer.tile_size;
|
||||
|
||||
// A vector of length 1.0 in the direction of the gradient line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue