| Index: third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| index 8125b5d559dab4318ec5005fc67c0473167efa72..fa63a8648b65e2c5e2f734619e9b4f5535cb3df4 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/ElementFactory.cpp.tmpl
|
| @@ -105,7 +105,7 @@ static void create{{namespace}}FunctionMap()
|
|
|
| if (document.registrationContext() && V0CustomElement::isValidName(localName)) {
|
| Element* element = document.registrationContext()->createCustomTagElement(document, QualifiedName(nullAtom, localName, {{namespace_prefix}}NamespaceURI));
|
| - ASSERT_WITH_SECURITY_IMPLICATION(element->is{{namespace}}Element());
|
| + SECURITY_DCHECK(element->is{{namespace}}Element());
|
| return to{{namespace}}Element(element);
|
| }
|
|
|
|
|