mirror of
https://github.com/servo/servo.git
synced 2025-09-02 11:08:22 +01:00
Remove most usage of ReentrantMutex in font code (#33746)
* Remove unnecessary ReentrantMutex usage for senders. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Remove double lock for freetype face. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
a591778a25
commit
6b3a316e1b
3 changed files with 8 additions and 9 deletions
|
@ -150,7 +150,6 @@ impl PlatformFontMethods for PlatformFont {
|
|||
FontStyle::NORMAL
|
||||
};
|
||||
|
||||
let face = self.face.lock();
|
||||
let os2_table = face.os2_table();
|
||||
let weight = os2_table
|
||||
.as_ref()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue