From 0e3ee8b60bc0b60db5327cddb8adb8bc42a425cf Mon Sep 17 00:00:00 2001 From: krk Date: Tue, 16 Apr 2019 21:30:29 +0200 Subject: [PATCH] Allow Reflector as a parent and special case PaintRenderingContext2D. --- .../script_plugins/webidl_must_inherit.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/components/script_plugins/webidl_must_inherit.rs b/components/script_plugins/webidl_must_inherit.rs index 61fabf0ddf8..1d5f3b4e49c 100644 --- a/components/script_plugins/webidl_must_inherit.rs +++ b/components/script_plugins/webidl_must_inherit.rs @@ -111,6 +111,23 @@ fn check_inherits(code: &str, name: &str, parent_name: &str) -> Result<(), Box