diff --git a/src/components/servo-net/local_image_cache.rs b/src/components/servo-net/local_image_cache.rs index b50789ed300..abdaba88c42 100644 --- a/src/components/servo-net/local_image_cache.rs +++ b/src/components/servo-net/local_image_cache.rs @@ -43,8 +43,7 @@ priv struct ImageState { pub impl LocalImageCache { /// The local cache will only do a single remote request for a given /// URL in each 'round'. Layout should call this each time it begins - // FIXME: 'pub' is an unexpected token? - /* pub */ fn next_round(&mut self, on_image_available: @fn() -> ~fn(ImageResponseMsg)) { + pub fn next_round(&mut self, on_image_available: @fn() -> ~fn(ImageResponseMsg)) { self.round_number += 1; self.on_image_available = Some(on_image_available); }