| 92 | } |
| 93 | |
| 94 | void add_associated_memory_for_pattern(JSObject* obj, |
| 95 | cairo_pattern_t* pattern) { |
| 96 | cairo_surface_t* surface; |
| 97 | cairo_status_t status = cairo_pattern_get_surface(pattern, &surface); |
| 98 | if (status == CAIRO_STATUS_SUCCESS) |
| 99 | add_associated_memory_for_surface(obj, surface); |
| 100 | } |
| 101 | |
| 102 | void remove_associated_memory_for_pattern(JSObject* obj, |
| 103 | cairo_pattern_t* pattern) { |
no test coverage detected