mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Deny unsafe code in more crates.
This commit is contained in:
parent
c90a1b9b1c
commit
08083f1c9d
17 changed files with 44 additions and 0 deletions
|
@ -153,6 +153,7 @@ impl WebGLPaintThread {
|
|||
unimplemented!()
|
||||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
fn recreate(&mut self, size: Size2D<i32>) -> Result<(), &'static str> {
|
||||
match self.data {
|
||||
WebGLPaintTaskData::Servo(ref mut context) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue