зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1889030 - Remove unused CascadeDataCacheEntry::cascade_data. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D206323
This commit is contained in:
Родитель
d1c5f6c450
Коммит
765b7d2fc0
|
@ -113,8 +113,6 @@ unsafe impl Send for CascadeDataCacheKey {}
|
||||||
unsafe impl Sync for CascadeDataCacheKey {}
|
unsafe impl Sync for CascadeDataCacheKey {}
|
||||||
|
|
||||||
trait CascadeDataCacheEntry: Sized {
|
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
|
/// Rebuilds the cascade data for the new stylesheet collection. The
|
||||||
/// collection is guaranteed to be dirty.
|
/// collection is guaranteed to be dirty.
|
||||||
fn rebuild<S>(
|
fn rebuild<S>(
|
||||||
|
@ -269,10 +267,6 @@ lazy_static! {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CascadeDataCacheEntry for UserAgentCascadeData {
|
impl CascadeDataCacheEntry for UserAgentCascadeData {
|
||||||
fn cascade_data(&self) -> &CascadeData {
|
|
||||||
&self.cascade_data
|
|
||||||
}
|
|
||||||
|
|
||||||
fn rebuild<S>(
|
fn rebuild<S>(
|
||||||
device: &Device,
|
device: &Device,
|
||||||
quirks_mode: QuirksMode,
|
quirks_mode: QuirksMode,
|
||||||
|
@ -3368,10 +3362,6 @@ impl CascadeData {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CascadeDataCacheEntry for CascadeData {
|
impl CascadeDataCacheEntry for CascadeData {
|
||||||
fn cascade_data(&self) -> &CascadeData {
|
|
||||||
self
|
|
||||||
}
|
|
||||||
|
|
||||||
fn rebuild<S>(
|
fn rebuild<S>(
|
||||||
device: &Device,
|
device: &Device,
|
||||||
quirks_mode: QuirksMode,
|
quirks_mode: QuirksMode,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче