aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script_layout/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/shared/script_layout/lib.rs')
-rw-r--r--components/shared/script_layout/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/components/shared/script_layout/lib.rs b/components/shared/script_layout/lib.rs
index a15f0be9bde..b65d42d1731 100644
--- a/components/shared/script_layout/lib.rs
+++ b/components/shared/script_layout/lib.rs
@@ -179,10 +179,7 @@ pub trait LayoutFactory: Send + Sync {
pub trait Layout {
/// Handle a single message from the Constellation.
- fn handle_constellation_msg(&mut self, msg: LayoutControlMsg);
-
- /// Handle a a single mesasge from the FontCacheThread.
- fn handle_font_cache_msg(&mut self);
+ fn handle_constellation_message(&mut self, msg: LayoutControlMsg);
/// Get a reference to this Layout's Stylo `Device` used to handle media queries and
/// resolve font metrics.