mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #10210 - perlun:rename-computedvalues-to-servocomputedvalues, r=SimonSapin
ComputedValues is now ServoComputedValues This is the first part of #10185. More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10210) <!-- Reviewable:end -->
This commit is contained in:
commit
639fdd6b12
28 changed files with 135 additions and 139 deletions
|
@ -41,7 +41,7 @@ use std::ops::{Deref, DerefMut};
|
|||
use std::sync::Arc;
|
||||
use style::computed_values::{border_style, cursor, filter, image_rendering, mix_blend_mode};
|
||||
use style::computed_values::{pointer_events};
|
||||
use style::properties::{ComputedValues, TComputedValues};
|
||||
use style::properties::{ServoComputedValues, TComputedValues};
|
||||
use style_traits::cursor::Cursor;
|
||||
use text::TextRun;
|
||||
use text::glyph::CharIndex;
|
||||
|
@ -927,7 +927,7 @@ impl DisplayItemMetadata {
|
|||
/// be `PointerCursor`, but for text display items it may be `TextCursor` or
|
||||
/// `VerticalTextCursor`.
|
||||
#[inline]
|
||||
pub fn new(node: OpaqueNode, style: &ComputedValues, default_cursor: Cursor)
|
||||
pub fn new(node: OpaqueNode, style: &ServoComputedValues, default_cursor: Cursor)
|
||||
-> DisplayItemMetadata {
|
||||
DisplayItemMetadata {
|
||||
node: node,
|
||||
|
@ -1419,4 +1419,3 @@ impl WebRenderImageInfo {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue