Skip to content

Commit

Permalink
use webrender_api::units::DevicePixel instead of `style_traits::Dev…
Browse files Browse the repository at this point in the history
…icePixel`
  • Loading branch information
dklassic committed Dec 2, 2024
1 parent 6779844 commit aba0864
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/compositor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,13 @@ use script_traits::{
ScrollState, TouchEventType, TouchId, WheelDelta, WindowSizeData, WindowSizeType,
};
use servo_geometry::{DeviceIndependentIntSize, DeviceIndependentPixel};
use style_traits::{CSSPixel, DevicePixel, PinchZoomFactor};
use style_traits::{CSSPixel, PinchZoomFactor};
use webrender::{RenderApi, Transaction};
use webrender_api::units::{
DeviceIntPoint, DeviceIntRect, DeviceIntSize, DevicePoint, LayoutPoint, LayoutRect, LayoutSize,
LayoutVector2D, WorldPoint,
DeviceIntPoint, DeviceIntRect, DeviceIntSize, DevicePixel, DevicePoint, LayoutPoint, LayoutRect, LayoutSize, LayoutVector2D, WorldPoint
};
use webrender_api::{
BorderRadius, BoxShadowClipMode, BuiltDisplayList, ClipMode, ColorF, CommonItemProperties,
ComplexClipRegion, DirtyRect, DisplayListPayload, DocumentId, Epoch as WebRenderEpoch,
ExternalScrollId, FontInstanceFlags, FontInstanceKey, FontInstanceOptions, FontKey,
HitTestFlags, PipelineId as WebRenderPipelineId, PropertyBinding, ReferenceFrameKind,
RenderReasons, SampledScrollOffset, ScrollLocation, SpaceAndClipInfo, SpatialId,
SpatialTreeItemKey, TransformStyle,
BorderRadius, BoxShadowClipMode, BuiltDisplayList, ClipMode, ColorF, CommonItemProperties, ComplexClipRegion, DirtyRect, DisplayListPayload, DocumentId, Epoch as WebRenderEpoch, ExternalScrollId, FontInstanceFlags, FontInstanceKey, FontInstanceOptions, FontKey, HitTestFlags, PipelineId as WebRenderPipelineId, PropertyBinding, ReferenceFrameKind, RenderReasons, SampledScrollOffset, ScrollLocation, SpaceAndClipInfo, SpatialId, SpatialTreeItemKey, TransformStyle
};
use webrender_traits::display_list::{HitTestInfo, ScrollTree};
use webrender_traits::{
Expand Down

0 comments on commit aba0864

Please sign in to comment.