diff --git a/components/style/sharing/mod.rs b/components/style/sharing/mod.rs index c7c2c946cc8..f330f226090 100644 --- a/components/style/sharing/mod.rs +++ b/components/style/sharing/mod.rs @@ -595,16 +595,6 @@ impl StyleSharingCandidateCache { } Err(miss) => { debug!("Cache miss: {:?}", miss); - - // Cache miss, let's see what kind of failure to decide - // whether we keep trying or not. - match miss { - // Too expensive failure, give up, we don't want another - // one of these. - CacheMiss::PresHints | - CacheMiss::Revalidation => break, - _ => {} - } } } }