зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #20030 - style: Remove useless code after #19994 (from emilio:useless-return-is-useless); r=nox
Source-Repo: https://github.com/servo/servo Source-Revision: 3a42f6f988c4bfb1847ed8dbb7a0013c6b2e528a --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 170dff8a60d7fdfb717f79d4bfa8b3a2ae3d93f7
This commit is contained in:
Родитель
026160efe8
Коммит
ef2156e691
|
@ -148,14 +148,6 @@ impl PerDocumentStyleData {
|
|||
}
|
||||
}
|
||||
|
||||
impl Drop for PerDocumentStyleDataImpl {
|
||||
fn drop(&mut self) {
|
||||
if !structs::GECKO_IS_NIGHTLY {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl PerDocumentStyleDataImpl {
|
||||
/// Recreate the style data if the stylesheets have changed.
|
||||
pub fn flush_stylesheets<E>(
|
||||
|
|
Загрузка…
Ссылка в новой задаче