| Index: third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
|
| index d5ddfbfea30f5fdd003ef81c23bf32dd755b49fc..35ca29d97c3c3120e5310e7f973a129972512e89 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/ElementTypeHelpers.h.tmpl
|
| @@ -48,6 +48,7 @@ inline bool isElementOfType<const {{tag.interface}}>(const {{namespace}}Element&
|
|
|
| {% for tag in tags|sort if not tag.multipleTagNames and not tag.noTypeHelpers %}
|
| #define to{{tag.interface}}(x) blink::toElement<blink::{{tag.interface}}>(x)
|
| +#define to{{tag.interface}}OrDie(x) blink::toElementOrDie<blink::{{tag.interface}}>(x)
|
| {% endfor %}
|
|
|
| {% if namespace == "HTML" %}
|
|
|