mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
rename deprecated utf16_units to encode_utf16
This commit is contained in:
parent
743e0c9c87
commit
c880c97b1b
7 changed files with 8 additions and 10 deletions
|
@ -390,7 +390,7 @@ impl EventTarget {
|
|||
// TODO step 1.2 (browsing context/scripting enabled)
|
||||
|
||||
// Step 1.3
|
||||
let body: Vec<u16> = handler.source.utf16_units().collect();
|
||||
let body: Vec<u16> = handler.source.encode_utf16().collect();
|
||||
|
||||
// TODO step 1.5 (form owner)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue