diff options
Diffstat (limited to 'components/shared/compositing/lib.rs')
-rw-r--r-- | components/shared/compositing/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/shared/compositing/lib.rs b/components/shared/compositing/lib.rs index 6af096dbbbf..21f77a4cae6 100644 --- a/components/shared/compositing/lib.rs +++ b/components/shared/compositing/lib.rs @@ -25,7 +25,9 @@ use script_traits::{ }; use style_traits::CSSPixel; use webrender_api::units::{DeviceIntPoint, DeviceIntSize, DeviceRect}; -use webrender_api::{self, FontInstanceKey, FontKey, ImageKey, NativeFontHandle}; +use webrender_api::{ + self, FontInstanceFlags, FontInstanceKey, FontKey, ImageKey, NativeFontHandle, +}; /// Sends messages to the compositor. pub struct CompositorProxy { @@ -139,7 +141,7 @@ pub struct CompositionPipeline { } pub enum FontToCompositorMsg { - AddFontInstance(FontKey, f32, Sender<FontInstanceKey>), + AddFontInstance(FontKey, f32, FontInstanceFlags, Sender<FontInstanceKey>), AddFont(Sender<FontKey>, u32, ipc_channel::ipc::IpcBytesReceiver), AddSystemFont(Sender<FontKey>, NativeFontHandle), } |