mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
crown: Do not check trait item projections. (#36095)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
80434d4644
commit
471f3f49bc
12 changed files with 32 additions and 22 deletions
|
@ -127,7 +127,6 @@ impl LayoutCanvasRenderingContextHelpers for LayoutDom<'_, CanvasRenderingContex
|
|||
impl CanvasContext for CanvasRenderingContext2D {
|
||||
type ID = CanvasId;
|
||||
|
||||
#[cfg_attr(crown, allow(crown::unrooted_must_root))] // Crown is wrong here #35570
|
||||
fn context_id(&self) -> Self::ID {
|
||||
self.canvas_state.get_canvas_id()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue