diff options
Diffstat (limited to 'components/gfx/font_cache_thread.rs')
-rw-r--r-- | components/gfx/font_cache_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/font_cache_thread.rs b/components/gfx/font_cache_thread.rs index 4ba4af2b39f..9b761900a80 100644 --- a/components/gfx/font_cache_thread.rs +++ b/components/gfx/font_cache_thread.rs @@ -229,7 +229,7 @@ impl FontCache { Ok(ref metadata) => { metadata.content_type.as_ref().map_or(false, |content_type| { let mime = &content_type.0; - is_supported_font_type(&mime.0, &mime.1) + is_supported_font_type(&(mime.0).0, &mime.1) }) } Err(_) => false, |