aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/paint_context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/paint_context.rs')
-rw-r--r--components/gfx/paint_context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/paint_context.rs b/components/gfx/paint_context.rs
index 4866a7aed00..fc8834c5239 100644
--- a/components/gfx/paint_context.rs
+++ b/components/gfx/paint_context.rs
@@ -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