diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-10-19 16:16:02 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-10-25 14:27:16 +0200 |
commit | 21b314e6338ab0681db7e536376a6867939008cc (patch) | |
tree | 73090958e428483064f7a58c5d661800f5fde637 /components | |
parent | 5da0a8d8725edde1aab0e802b1381bb379fd6638 (diff) | |
download | servo-21b314e6338ab0681db7e536376a6867939008cc.tar.gz servo-21b314e6338ab0681db7e536376a6867939008cc.zip |
stylo: Honor CallerType for media query parsing.
So that matchMedia can parse internal stuff in Chrome code.
Bug: 1410074
Reviewed-by: xidorn
MozReview-Commit-ID: 6M4HHqVJ1dp
Diffstat (limited to 'components')
-rw-r--r-- | components/style/gecko/generated/bindings.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 7375fba01ba..3f1fe721076 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -14,6 +14,7 @@ use gecko_bindings::structs::mozilla::css::ErrorReporter; use gecko_bindings::structs::mozilla::css::ImageValue; use gecko_bindings::structs::mozilla::css::URLValue; use gecko_bindings::structs::mozilla::css::URLValueData; +use gecko_bindings::structs::mozilla::dom::CallerType; use gecko_bindings::structs::mozilla::AnonymousCounterStyle; use gecko_bindings::structs::mozilla::AtomArray; use gecko_bindings::structs::mozilla::MallocSizeOf; @@ -2868,7 +2869,8 @@ extern "C" { } extern "C" { pub fn Servo_MediaList_SetText(list: RawServoMediaListBorrowed, - text: *const nsACString); + text: *const nsACString, + aCallerType: CallerType); } extern "C" { pub fn Servo_MediaList_GetLength(list: RawServoMediaListBorrowed) -> u32; |