mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Fix compilation errors due to the rebase
It's too complicated to make all the commits in that branch compile properly.
This commit is contained in:
parent
317d700f5d
commit
f8341daf95
9 changed files with 31 additions and 72 deletions
|
@ -6,6 +6,7 @@ use euclid::Vector2D;
|
|||
use gfx_traits;
|
||||
use std::collections::HashMap;
|
||||
use std::f32;
|
||||
use webrender_api::units::LayoutPixel;
|
||||
use webrender_api::ExternalScrollId;
|
||||
|
||||
pub use style::dom::OpaqueNode;
|
||||
|
@ -20,4 +21,4 @@ impl gfx_traits::DisplayList for DisplayList {
|
|||
}
|
||||
|
||||
/// The type of the scroll offset list. This is only populated if WebRender is in use.
|
||||
pub type ScrollOffsetMap = HashMap<ExternalScrollId, Vector2D<f32>>;
|
||||
pub type ScrollOffsetMap = HashMap<ExternalScrollId, Vector2D<f32, LayoutPixel>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue