mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
Add a missing debugging conditional-printf. b=327878 r+sr=roc
This commit is contained in:
parent
a7f03736a9
commit
e73700a3f8
@ -254,8 +254,10 @@ _draw_with_xlib_direct (cairo_t *cr,
|
||||
|
||||
/* Check that the offset is supported */
|
||||
if (!(capabilities & CAIRO_XLIB_DRAWING_SUPPORTS_OFFSET) &&
|
||||
(offset_x != 0 || offset_y != 0))
|
||||
(offset_x != 0 || offset_y != 0)) {
|
||||
CAIRO_XLIB_DRAWING_NOTE("TAKING SLOW PATH: unsupported offset\n");
|
||||
return False;
|
||||
}
|
||||
|
||||
/* Check that the target surface is an xlib surface. Do this late because
|
||||
we might complete early above when when the object to be drawn is
|
||||
|
Loading…
x
Reference in New Issue
Block a user