| Index: Source/core/scripts/make_names.pl
|
| diff --git a/Source/core/scripts/make_names.pl b/Source/core/scripts/make_names.pl
|
| index 31d1f217a51e68a8cbf9b1257273bcb5b9adc460..49db2dc8327d5a39edb69869fa683b0912460ac1 100755
|
| --- a/Source/core/scripts/make_names.pl
|
| +++ b/Source/core/scripts/make_names.pl
|
| @@ -856,10 +856,8 @@ print F <<END
|
| #include "ContextFeatures.h"
|
| #include "RuntimeEnabledFeatures.h"
|
|
|
| -#if ENABLE(CUSTOM_ELEMENTS)
|
| #include "CustomElementConstructor.h"
|
| #include "CustomElementRegistry.h"
|
| -#endif
|
|
|
| #if ENABLE(VIDEO)
|
| #include "Document.h"
|
| @@ -922,7 +920,6 @@ END
|
| ;
|
|
|
| print F <<END
|
| -#if ENABLE(CUSTOM_ELEMENTS)
|
| if (document->registry()) {
|
| if (RefPtr<CustomElementConstructor> constructor = document->registry()->find(nullQName(), qName)) {
|
| RefPtr<Element> element = constructor->createElement();
|
| @@ -930,7 +927,6 @@ print F <<END
|
| return static_pointer_cast<$parameters{namespace}Element>(element.release());
|
| }
|
| }
|
| -#endif
|
|
|
| if (!gFunctionMap)
|
| createFunctionMap();
|
| @@ -1206,9 +1202,7 @@ END
|
| print F <<END
|
| #include "V8$parameters{namespace}Element.h"
|
|
|
| -#if ENABLE(CUSTOM_ELEMENTS)
|
| #include "CustomElementHelpers.h"
|
| -#endif
|
|
|
| #include <v8.h>
|
| END
|
| @@ -1283,10 +1277,8 @@ END
|
| ;
|
| if ($wrapperFactoryType eq "V8") {
|
| print F <<END
|
| -#if ENABLE(CUSTOM_ELEMENTS)
|
| if (PassRefPtr<CustomElementConstructor> constructor = CustomElementHelpers::constructorOf(element))
|
| return CustomElementHelpers::wrap(element, creationContext, constructor, isolate);
|
| -#endif
|
| END
|
| ;
|
| }
|
|
|