| 100 | } |
| 101 | |
| 102 | void remove_associated_memory_for_pattern(JSObject* obj, |
| 103 | cairo_pattern_t* pattern) { |
| 104 | cairo_surface_t* surface; |
| 105 | cairo_status_t status = cairo_pattern_get_surface(pattern, &surface); |
| 106 | if (status == CAIRO_STATUS_SUCCESS) |
| 107 | remove_associated_memory_for_surface(obj, surface); |
| 108 | } |
no test coverage detected