| Index: third_party/WebKit/WebCore/bindings/scripts/CodeGeneratorJS.pm
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/bindings/scripts/CodeGeneratorJS.pm (revision 9310)
|
| +++ third_party/WebKit/WebCore/bindings/scripts/CodeGeneratorJS.pm (working copy)
|
| @@ -386,9 +386,6 @@
|
| push(@headerContentHeader, "#include <runtime/JSGlobalObject.h>\n");
|
| push(@headerContentHeader, "#include <runtime/ObjectPrototype.h>\n");
|
| }
|
| - if ($interfaceName eq "Node") {
|
| - push(@headerContentHeader, "#include \"EventTargetNode.h\"\n");
|
| - }
|
|
|
| if ($dataNode->extendedAttributes->{"CustomCall"}) {
|
| push(@headerContentHeader, "#include <runtime/CallData.h>\n");
|
| @@ -636,11 +633,6 @@
|
| } else {
|
| push(@headerContent, "JSC::JSValuePtr toJS(JSC::ExecState*, $implType*);\n");
|
| }
|
| -
|
| - # Resolve ambiguity with EventTarget that otherwise exists.
|
| - if ($interfaceName eq "Node") {
|
| - push(@headerContent, "inline JSC::JSValuePtr toJS(JSC::ExecState* exec, EventTargetNode* node) { return toJS(exec, static_cast<Node*>(node)); }\n");
|
| - }
|
| }
|
| if (!$hasParent || $dataNode->extendedAttributes->{"GenerateNativeConverter"}) {
|
| if ($podType) {
|
| @@ -1557,7 +1549,6 @@
|
| my %nativeType = (
|
| "CompareHow" => "Range::CompareHow",
|
| "DOMString" => "const UString&",
|
| - "EventTarget" => "EventTargetNode*",
|
| "NodeFilter" => "RefPtr<NodeFilter>",
|
| "SVGLength" => "SVGLength",
|
| "SVGMatrix" => "TransformationMatrix",
|
| @@ -1605,11 +1596,6 @@
|
| return "$value.toString(exec)";
|
| }
|
|
|
| - if ($type eq "EventTarget") {
|
| - $implIncludes{"JSEventTargetNode.h"} = 1;
|
| - return "toEventTargetNode($value)";
|
| - }
|
| -
|
| $implIncludes{"FloatPoint.h"} = 1 if $type eq "SVGPoint";
|
| $implIncludes{"FloatRect.h"} = 1 if $type eq "SVGRect";
|
| $implIncludes{"HTMLOptionElement.h"} = 1 if $type eq "HTMLOptionElement";
|
|
|