mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Modify *::get_cx methods to return a safe JSContext instead of a raw one
This commit is contained in:
parent
2c5d0a6ebc
commit
88cacfb009
43 changed files with 306 additions and 321 deletions
|
@ -266,7 +266,7 @@ impl FileReader {
|
|||
let _ac = enter_realm(&*fr);
|
||||
FileReader::perform_readasarraybuffer(
|
||||
&fr.result,
|
||||
fr.global().get_cx(),
|
||||
*fr.global().get_cx(),
|
||||
data,
|
||||
&blob_contents,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue