From df48e33926691082b3cf987ae81eb6e0a4342e27 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Fri, 12 Sep 2014 14:00:55 +1000 Subject: [PATCH] Fix comment and and reference to bug #3300 --- components/gfx/font_context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/gfx/font_context.rs b/components/gfx/font_context.rs index d61ccf3055e..04d7a17efb8 100644 --- a/components/gfx/font_context.rs +++ b/components/gfx/font_context.rs @@ -14,7 +14,7 @@ use font::FontHandleMethods; use platform::font::FontHandle; use servo_util::cache::HashCache; -use std::rc::{Rc, Weak}; +use std::rc::Rc; use std::cell::RefCell; use sync::Arc; @@ -54,7 +54,7 @@ pub struct FontContext { platform_handle: FontContextHandle, 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>>, /// Strong reference as the render FontContext is (for now) recycled