mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Fix comment and and reference to bug #3300
This commit is contained in:
parent
9ec3c9374d
commit
df48e33926
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ use font::FontHandleMethods;
|
||||||
use platform::font::FontHandle;
|
use platform::font::FontHandle;
|
||||||
use servo_util::cache::HashCache;
|
use servo_util::cache::HashCache;
|
||||||
|
|
||||||
use std::rc::{Rc, Weak};
|
use std::rc::Rc;
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use sync::Arc;
|
use sync::Arc;
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ pub struct FontContext {
|
||||||
platform_handle: FontContextHandle,
|
platform_handle: FontContextHandle,
|
||||||
font_cache_task: FontCacheTask,
|
font_cache_task: FontCacheTask,
|
||||||
|
|
||||||
/// Weak reference as the layout FontContext is persistent.
|
/// TODO: See bug https://github.com/servo/servo/issues/3300.
|
||||||
layout_font_cache: Vec<Rc<RefCell<Font>>>,
|
layout_font_cache: Vec<Rc<RefCell<Font>>>,
|
||||||
|
|
||||||
/// Strong reference as the render FontContext is (for now) recycled
|
/// Strong reference as the render FontContext is (for now) recycled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue