mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Remove Gecko_GetMediaFeatures and access nsMediaFeatures::features directly.
This commit is contained in:
parent
dde1f46e16
commit
dd2b851f93
2 changed files with 2 additions and 11 deletions
|
@ -78,7 +78,6 @@ use gecko_bindings::structs::nsFont;
|
|||
use gecko_bindings::structs::nsIAtom;
|
||||
use gecko_bindings::structs::nsIURI;
|
||||
use gecko_bindings::structs::nsCompatibility;
|
||||
use gecko_bindings::structs::nsMediaFeature;
|
||||
use gecko_bindings::structs::nsRestyleHint;
|
||||
use gecko_bindings::structs::nsStyleBackground;
|
||||
unsafe impl Send for nsStyleBackground {}
|
||||
|
@ -1485,9 +1484,6 @@ extern "C" {
|
|||
extern "C" {
|
||||
pub fn Gecko_StyleSheet_Release(aSheet: *const ServoStyleSheet);
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_GetMediaFeatures() -> *const nsMediaFeature;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn Gecko_LookupCSSKeyword(string: *const u8, len: u32)
|
||||
-> nsCSSKeyword;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue