mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
Take a u8
pointer and a length instead of nsACString
pointer from Gecko.
This is the Servo side change of [bug 1354989](https://bugzilla.mozilla.org/show_bug.cgi?id=1354989).
This commit is contained in:
parent
15c57e8d54
commit
35eb9e2152
2 changed files with 5 additions and 3 deletions
|
@ -1930,7 +1930,8 @@ extern "C" {
|
|||
pub fn Servo_StyleSheet_FromUTF8Bytes(loader: *mut Loader,
|
||||
gecko_stylesheet:
|
||||
*mut ServoStyleSheet,
|
||||
data: *const nsACString,
|
||||
data: *const u8,
|
||||
data_len: usize,
|
||||
parsing_mode: SheetParsingMode,
|
||||
extra_data:
|
||||
*mut RawGeckoURLExtraData,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue