From 9744840e5a05a5aa5cbc911433819d427d9ebdcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 12 Feb 2018 13:51:57 +0100 Subject: [PATCH] style: Remove useless code after #19994 --- components/style/gecko/data.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/style/gecko/data.rs b/components/style/gecko/data.rs index ff9e8ae1c19..4107fb5c9b8 100644 --- a/components/style/gecko/data.rs +++ b/components/style/gecko/data.rs @@ -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(