mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Stop calling is_not_null.
It has been removed from Rust.
This commit is contained in:
parent
2629445748
commit
7eb659371d
6 changed files with 26 additions and 28 deletions
|
@ -1149,7 +1149,7 @@ impl ScaledFontExtensionMethods for ScaledFont {
|
|||
let target = rctx.get_draw_target();
|
||||
let pattern = ColorPattern::new(color);
|
||||
let azure_pattern = pattern.azure_color_pattern;
|
||||
assert!(azure_pattern.is_not_null());
|
||||
assert!(!azure_pattern.is_null());
|
||||
|
||||
let fields = if antialias {
|
||||
0x0200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue