Bug 1889030 - Remove unused CascadeDataCacheEntry::cascade_data. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D206323
This commit is contained in:
Mike Hommey 2024-04-03 06:35:27 +00:00
Родитель d1c5f6c450
Коммит 765b7d2fc0
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -113,8 +113,6 @@ unsafe impl Send for CascadeDataCacheKey {}
unsafe impl Sync for CascadeDataCacheKey {}
trait CascadeDataCacheEntry: Sized {
/// Returns a reference to the cascade data.
fn cascade_data(&self) -> &CascadeData;
/// Rebuilds the cascade data for the new stylesheet collection. The
/// collection is guaranteed to be dirty.
fn rebuild<S>(
@ -269,10 +267,6 @@ lazy_static! {
}
impl CascadeDataCacheEntry for UserAgentCascadeData {
fn cascade_data(&self) -> &CascadeData {
&self.cascade_data
}
fn rebuild<S>(
device: &Device,
quirks_mode: QuirksMode,
@ -3368,10 +3362,6 @@ impl CascadeData {
}
impl CascadeDataCacheEntry for CascadeData {
fn cascade_data(&self) -> &CascadeData {
self
}
fn rebuild<S>(
device: &Device,
quirks_mode: QuirksMode,