<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[173804] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/173804">173804</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2014-09-21 20:51:55 -0700 (Sun, 21 Sep 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Generate Element casting helper functions
https://bugs.webkit.org/show_bug.cgi?id=136839

Reviewed by Darin Adler.

Source/WebCore:

Generate Element casting helper functions instead of requiring explicit
use of NODE_TYPE_CASTS() macro. Casting is now done using the following
form: downcast&lt;HTMLDivElement&gt;(), instead of toHTMLDivElement().

The previous form (i.e. toHTMLDivElement()) is still supported for now
by generating macros that convert these calls into the new form, until
the code base is ported to the new casting helpers.

The plan is also to use is&lt;HTMLDivElement&gt;() instead of
isHTMLDivElement() for consistency but this was not changed in this
patch to avoid blowing up the size.

This CL also updates the way we convert a JSValue into an
implementation pointer. Instead of using toHTMLDivElement(), which
looked like a cast, we now use JSHTMLDivElement::toWrapped(). This
avoids conflicting with the toXXXElement() macros and makes it
clearer this is not a simple cast.

No new tests, no behavior change.

* Modules/plugins/QuickTimePluginReplacement.mm:
(WebCore::QuickTimePluginReplacement::installReplacement):
* WebCore.exp.in:
* bindings/js/JSAudioBufferSourceNodeCustom.cpp:
(WebCore::JSAudioBufferSourceNode::setBuffer):
* bindings/js/JSBlobCustom.cpp:
(WebCore::constructJSBlob):
* bindings/js/JSCommandLineAPIHostCustom.cpp:
(WebCore::JSCommandLineAPIHost::getEventListeners):
(WebCore::JSCommandLineAPIHost::databaseId):
(WebCore::JSCommandLineAPIHost::storageId):
* bindings/js/JSDOMFormDataCustom.cpp:
(WebCore::toHTMLFormElementOrNull):
(WebCore::constructJSDOMFormData):
(WebCore::JSDOMFormData::append):
(WebCore::toHTMLFormElement): Deleted.
* bindings/js/JSDOMStringListCustom.cpp:
(WebCore::JSDOMStringList::toWrapped):
(WebCore::toDOMStringList): Deleted.
* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::toWrapped):
(WebCore::toDOMWindow): Deleted.
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSDocumentCustom.cpp:
(WebCore::JSDocument::createTouchList):
* bindings/js/JSEventTargetCustom.cpp:
(WebCore::JSEventTarget::toWrapped):
(WebCore::toEventTarget): Deleted.
* bindings/js/JSExceptionBase.cpp:
(WebCore::toExceptionBase):
* bindings/js/JSHTMLMediaElementCustom.cpp:
(WebCore::JSHTMLMediaElement::setController):
* bindings/js/JSHTMLOptionsCollectionCustom.cpp:
(WebCore::JSHTMLOptionsCollection::add):
(WebCore::JSHTMLOptionsCollection::remove):
* bindings/js/JSHTMLSelectElementCustom.cpp:
(WebCore::JSHTMLSelectElement::remove):
(WebCore::selectIndexSetter):
* bindings/js/JSInspectorFrontendHostCustom.cpp:
(WebCore::JSInspectorFrontendHost::showContextMenu):
* bindings/js/JSMessageEventCustom.cpp:
(WebCore::handleInitMessageEvent):
* bindings/js/JSMessagePortCustom.cpp:
(WebCore::fillMessagePortArray):
* bindings/js/JSNodeCustom.cpp:
(WebCore::JSNode::insertBefore):
(WebCore::JSNode::replaceChild):
(WebCore::JSNode::removeChild):
(WebCore::JSNode::appendChild):
* bindings/js/JSNodeFilterCustom.cpp:
(WebCore::JSNodeFilter::toWrapped):
(WebCore::toNodeFilter): Deleted.
* bindings/js/JSSubtleCryptoCustom.cpp:
(WebCore::JSSubtleCrypto::encrypt):
(WebCore::JSSubtleCrypto::decrypt):
(WebCore::JSSubtleCrypto::sign):
(WebCore::JSSubtleCrypto::verify):
(WebCore::JSSubtleCrypto::exportKey):
(WebCore::JSSubtleCrypto::wrapKey):
(WebCore::JSSubtleCrypto::unwrapKey):
* bindings/js/JSWebGLRenderingContextCustom.cpp:
(WebCore::JSWebGLRenderingContext::getAttachedShaders):
(WebCore::JSWebGLRenderingContext::getProgramParameter):
(WebCore::JSWebGLRenderingContext::getShaderParameter):
(WebCore::JSWebGLRenderingContext::getUniform):
(WebCore::dataFunctionf):
(WebCore::dataFunctioni):
(WebCore::dataFunctionMatrix):
* bindings/js/JSXMLHttpRequestCustom.cpp:
(WebCore::JSXMLHttpRequest::send):
* bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneSerializer::dumpIfTerminal):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
(GenerateParametersCheck):
(JSValueToNative):
* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
(WebCore::JSTestActiveDOMObject::toWrapped):
(WebCore::toTestActiveDOMObject): Deleted.
* bindings/scripts/test/JS/JSTestActiveDOMObject.h:
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore::JSTestCustomNamedGetter::toWrapped):
(WebCore::toTestCustomNamedGetter): Deleted.
* bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructor::toWrapped):
(WebCore::toTestEventConstructor): Deleted.
* bindings/scripts/test/JS/JSTestEventConstructor.h:
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
(WebCore::JSTestEventTarget::toWrapped):
(WebCore::toTestEventTarget): Deleted.
* bindings/scripts/test/JS/JSTestEventTarget.h:
* bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::JSTestException::toWrapped):
(WebCore::toTestException): Deleted.
* bindings/scripts/test/JS/JSTestException.h:
* bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
(WebCore::JSTestGenerateIsReachable::toWrapped):
(WebCore::toTestGenerateIsReachable): Deleted.
* bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::setJSTestInterfaceImplementsNode):
(WebCore::setJSTestInterfaceSupplementalNode):
(WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
(WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
(WebCore::JSTestInterface::toWrapped):
(WebCore::toTestInterface): Deleted.
* bindings/scripts/test/JS/JSTestInterface.h:
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore::JSTestMediaQueryListListener::toWrapped):
(WebCore::toTestMediaQueryListListener): Deleted.
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore::JSTestNamedConstructor::toWrapped):
(WebCore::toTestNamedConstructor): Deleted.
* bindings/scripts/test/JS/JSTestNamedConstructor.h:
* bindings/scripts/test/JS/JSTestNondeterministic.cpp:
(WebCore::JSTestNondeterministic::toWrapped):
(WebCore::toTestNondeterministic): Deleted.
* bindings/scripts/test/JS/JSTestNondeterministic.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::setJSTestObjTestObjAttr):
(WebCore::setJSTestObjXMLObjAttr):
(WebCore::setJSTestObjWithScriptExecutionContextAttribute):
(WebCore::setJSTestObjWithScriptStateAttributeRaises):
(WebCore::setJSTestObjWithScriptExecutionContextAttributeRaises):
(WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttribute):
(WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
(WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute):
(WebCore::setJSTestObjWithScriptArgumentsAndCallStackAttribute):
(WebCore::setJSTestObjMutablePoint):
(WebCore::setJSTestObjImmutablePoint):
(WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionByteMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionOctetMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
(WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
(WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod8):
(WebCore::jsTestObjPrototypeFunctionConvert1):
(WebCore::jsTestObjPrototypeFunctionConvert2):
(WebCore::jsTestObjPrototypeFunctionConvert4):
(WebCore::jsTestObjPrototypeFunctionConvert5):
(WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
(WebCore::jsTestObjPrototypeFunctionStrictFunctionWithArray):
(WebCore::jsTestObjPrototypeFunctionVariadicNodeMethod):
(WebCore::JSTestObj::toWrapped):
(WebCore::toTestObj): Deleted.
* bindings/scripts/test/JS/JSTestObj.h:
* bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
(WebCore::JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3):
(WebCore::JSTestOverloadedConstructors::toWrapped):
(WebCore::toTestOverloadedConstructors): Deleted.
* bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterface::toWrapped):
(WebCore::toTestSerializedScriptValueInterface): Deleted.
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
(WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
(WebCore::JSTestTypedefs::toWrapped):
(WebCore::toTestTypedefs): Deleted.
* bindings/scripts/test/JS/JSTestTypedefs.h:
* bindings/scripts/test/JS/JSattribute.cpp:
(WebCore::JSattribute::toWrapped):
(WebCore::toattribute): Deleted.
* bindings/scripts/test/JS/JSattribute.h:
* bindings/scripts/test/JS/JSreadonly.cpp:
(WebCore::JSreadonly::toWrapped):
(WebCore::toreadonly): Deleted.
* bindings/scripts/test/JS/JSreadonly.h:
* dom/Element.h:
(WebCore::downcast):
* dom/make_names.pl:
(printTypeHelpers):
* html/HTMLAnchorElement.h:
* html/HTMLAreaElement.h:
* html/HTMLAudioElement.h:
* html/HTMLBaseElement.h:
* html/HTMLBodyElement.h:
* html/HTMLCanvasElement.h:
* html/HTMLDataListElement.h:
* html/HTMLDetailsElement.h:
* html/HTMLDivElement.h:
* html/HTMLEmbedElement.h:
* html/HTMLFieldSetElement.h:
* html/HTMLFormElement.h:
* html/HTMLFrameElement.h:
* html/HTMLFrameSetElement.h:
* html/HTMLHtmlElement.h:
* html/HTMLIFrameElement.h:
* html/HTMLImageElement.h:
* html/HTMLInputElement.h:
* html/HTMLLabelElement.h:
* html/HTMLLegendElement.h:
* html/HTMLLinkElement.h:
* html/HTMLMapElement.h:
* html/HTMLMarqueeElement.h:
* html/HTMLMetaElement.h:
* html/HTMLMeterElement.h:
* html/HTMLOListElement.h:
* html/HTMLObjectElement.h:
* html/HTMLOptGroupElement.h:
* html/HTMLOptionElement.h:
* html/HTMLParamElement.h:
* html/HTMLProgressElement.h:
* html/HTMLScriptElement.h:
* html/HTMLSelectElement.h:
* html/HTMLSourceElement.h:
* html/HTMLStyleElement.h:
* html/HTMLSummaryElement.h:
* html/HTMLTableCaptionElement.h:
* html/HTMLTableElement.h:
* html/HTMLTableRowElement.h:
* html/HTMLTemplateElement.h:
* html/HTMLTextAreaElement.h:
* html/HTMLTitleElement.h:
* html/HTMLTrackElement.h:
* html/HTMLVideoElement.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::scriptValueAsNode):
* mathml/MathMLMencloseElement.h:
* svg/SVGAltGlyphDefElement.h:
* svg/SVGAltGlyphElement.h:
* svg/SVGAltGlyphItemElement.h:
* svg/SVGAnimateMotionElement.h:
* svg/SVGAnimateTransformElement.h:
* svg/SVGCircleElement.h:
* svg/SVGClipPathElement.h:
* svg/SVGCursorElement.h:
* svg/SVGEllipseElement.h:
* svg/SVGFEDistantLightElement.h:
* svg/SVGFEFuncAElement.h:
* svg/SVGFEFuncBElement.h:
* svg/SVGFEFuncGElement.h:
* svg/SVGFEFuncRElement.h:
* svg/SVGFEMergeNodeElement.h:
* svg/SVGFEPointLightElement.h:
* svg/SVGFESpotLightElement.h:
* svg/SVGFilterElement.h:
* svg/SVGFontElement.h:
* svg/SVGFontFaceElement.h:
* svg/SVGFontFaceNameElement.h:
* svg/SVGFontFaceSrcElement.h:
* svg/SVGFontFaceUriElement.h:
* svg/SVGForeignObjectElement.h:
* svg/SVGGlyphElement.h:
* svg/SVGGlyphRefElement.h:
* svg/SVGHKernElement.h:
* svg/SVGImageElement.h:
* svg/SVGLineElement.h:
* svg/SVGLinearGradientElement.h:
* svg/SVGMPathElement.h:
* svg/SVGMarkerElement.h:
* svg/SVGMaskElement.h:
* svg/SVGMissingGlyphElement.h:
* svg/SVGPathElement.h:
* svg/SVGPatternElement.h:
* svg/SVGPolygonElement.h:
* svg/SVGPolylineElement.h:
* svg/SVGRadialGradientElement.h:
* svg/SVGRectElement.h:
* svg/SVGSVGElement.h:
* svg/SVGScriptElement.h:
* svg/SVGStopElement.h:
* svg/SVGStyleElement.h:
* svg/SVGTextElement.h:
* svg/SVGTextPathElement.h:
* svg/SVGTitleElement.h:
* svg/SVGUseElement.h:
* svg/SVGVKernElement.h:
* svg/SVGViewElement.h:

Source/WebKit:

Update some of the exported symbols on Windows for functions that were
renamed.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/mac:

Use JSXXX::toWrapped() instead of toXXX() function.

* DOM/WebDOMOperations.mm:
* WebView/WebView.mm:
(-[WebView _notificationIDForTesting:]):

Source/WebKit/win:

Use JSXXX::toWrapped() instead of toXXX() function.

* WebView.cpp:
(WebView::elementFromJS):

Source/WebKit2:

Use JSXXX::toWrapped() instead of toXXX() function.

* WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
(WebKit::InjectedBundleNodeHandle::getOrCreate):
* WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
(WebKit::InjectedBundleRangeHandle::getOrCreate):
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::webNotificationID):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulespluginsQuickTimePluginReplacementmm">trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm</a></li>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSAudioBufferSourceNodeCustomcpp">trunk/Source/WebCore/bindings/js/JSAudioBufferSourceNodeCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSBlobCustomcpp">trunk/Source/WebCore/bindings/js/JSBlobCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSCommandLineAPIHostCustomcpp">trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMFormDataCustomcpp">trunk/Source/WebCore/bindings/js/JSDOMFormDataCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMStringListCustomcpp">trunk/Source/WebCore/bindings/js/JSDOMStringListCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMWindowCustomcpp">trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDictionarycpp">trunk/Source/WebCore/bindings/js/JSDictionary.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDocumentCustomcpp">trunk/Source/WebCore/bindings/js/JSDocumentCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSEventTargetCustomcpp">trunk/Source/WebCore/bindings/js/JSEventTargetCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSExceptionBasecpp">trunk/Source/WebCore/bindings/js/JSExceptionBase.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSHTMLMediaElementCustomcpp">trunk/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSHTMLOptionsCollectionCustomcpp">trunk/Source/WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSHTMLSelectElementCustomcpp">trunk/Source/WebCore/bindings/js/JSHTMLSelectElementCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSInspectorFrontendHostCustomcpp">trunk/Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSMessageEventCustomcpp">trunk/Source/WebCore/bindings/js/JSMessageEventCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSMessagePortCustomcpp">trunk/Source/WebCore/bindings/js/JSMessagePortCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSNodeCustomcpp">trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSNodeFilterCustomcpp">trunk/Source/WebCore/bindings/js/JSNodeFilterCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSSubtleCryptoCustomcpp">trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSWebGLRenderingContextCustomcpp">trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSXMLHttpRequestCustomcpp">trunk/Source/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsSerializedScriptValuecpp">trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjecth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGetterh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargeth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptionh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachableh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfaceh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenerh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministich">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfaceh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributeh">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlyh">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h</a></li>
<li><a href="#trunkSourceWebCoredomElementh">trunk/Source/WebCore/dom/Element.h</a></li>
<li><a href="#trunkSourceWebCoredommake_namespl">trunk/Source/WebCore/dom/make_names.pl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAnchorElementh">trunk/Source/WebCore/html/HTMLAnchorElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAreaElementh">trunk/Source/WebCore/html/HTMLAreaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAudioElementh">trunk/Source/WebCore/html/HTMLAudioElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBaseElementh">trunk/Source/WebCore/html/HTMLBaseElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBodyElementh">trunk/Source/WebCore/html/HTMLBodyElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLCanvasElementh">trunk/Source/WebCore/html/HTMLCanvasElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDataListElementh">trunk/Source/WebCore/html/HTMLDataListElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDetailsElementh">trunk/Source/WebCore/html/HTMLDetailsElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLDivElementh">trunk/Source/WebCore/html/HTMLDivElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLEmbedElementh">trunk/Source/WebCore/html/HTMLEmbedElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFieldSetElementh">trunk/Source/WebCore/html/HTMLFieldSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementh">trunk/Source/WebCore/html/HTMLFormElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementh">trunk/Source/WebCore/html/HTMLFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameSetElementh">trunk/Source/WebCore/html/HTMLFrameSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLHtmlElementh">trunk/Source/WebCore/html/HTMLHtmlElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementh">trunk/Source/WebCore/html/HTMLIFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLImageElementh">trunk/Source/WebCore/html/HTMLImageElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementh">trunk/Source/WebCore/html/HTMLInputElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLabelElementh">trunk/Source/WebCore/html/HTMLLabelElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLegendElementh">trunk/Source/WebCore/html/HTMLLegendElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementh">trunk/Source/WebCore/html/HTMLLinkElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMapElementh">trunk/Source/WebCore/html/HTMLMapElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMarqueeElementh">trunk/Source/WebCore/html/HTMLMarqueeElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMetaElementh">trunk/Source/WebCore/html/HTMLMetaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMeterElementh">trunk/Source/WebCore/html/HTMLMeterElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOListElementh">trunk/Source/WebCore/html/HTMLOListElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLObjectElementh">trunk/Source/WebCore/html/HTMLObjectElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOptGroupElementh">trunk/Source/WebCore/html/HTMLOptGroupElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOptionElementh">trunk/Source/WebCore/html/HTMLOptionElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLParamElementh">trunk/Source/WebCore/html/HTMLParamElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLProgressElementh">trunk/Source/WebCore/html/HTMLProgressElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLScriptElementh">trunk/Source/WebCore/html/HTMLScriptElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSelectElementh">trunk/Source/WebCore/html/HTMLSelectElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSourceElementh">trunk/Source/WebCore/html/HTMLSourceElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLStyleElementh">trunk/Source/WebCore/html/HTMLStyleElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLSummaryElementh">trunk/Source/WebCore/html/HTMLSummaryElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableCaptionElementh">trunk/Source/WebCore/html/HTMLTableCaptionElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableElementh">trunk/Source/WebCore/html/HTMLTableElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableRowElementh">trunk/Source/WebCore/html/HTMLTableRowElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTemplateElementh">trunk/Source/WebCore/html/HTMLTemplateElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTextAreaElementh">trunk/Source/WebCore/html/HTMLTextAreaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTitleElementh">trunk/Source/WebCore/html/HTMLTitleElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTrackElementh">trunk/Source/WebCore/html/HTMLTrackElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementh">trunk/Source/WebCore/html/HTMLVideoElement.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDOMAgentcpp">trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoremathmlMathMLMencloseElementh">trunk/Source/WebCore/mathml/MathMLMencloseElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAltGlyphDefElementh">trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAltGlyphElementh">trunk/Source/WebCore/svg/SVGAltGlyphElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAltGlyphItemElementh">trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAnimateMotionElementh">trunk/Source/WebCore/svg/SVGAnimateMotionElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGAnimateTransformElementh">trunk/Source/WebCore/svg/SVGAnimateTransformElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGCircleElementh">trunk/Source/WebCore/svg/SVGCircleElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGClipPathElementh">trunk/Source/WebCore/svg/SVGClipPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGCursorElementh">trunk/Source/WebCore/svg/SVGCursorElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGEllipseElementh">trunk/Source/WebCore/svg/SVGEllipseElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEDistantLightElementh">trunk/Source/WebCore/svg/SVGFEDistantLightElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEFuncAElementh">trunk/Source/WebCore/svg/SVGFEFuncAElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEFuncBElementh">trunk/Source/WebCore/svg/SVGFEFuncBElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEFuncGElementh">trunk/Source/WebCore/svg/SVGFEFuncGElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEFuncRElementh">trunk/Source/WebCore/svg/SVGFEFuncRElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEMergeNodeElementh">trunk/Source/WebCore/svg/SVGFEMergeNodeElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFEPointLightElementh">trunk/Source/WebCore/svg/SVGFEPointLightElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFESpotLightElementh">trunk/Source/WebCore/svg/SVGFESpotLightElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFilterElementh">trunk/Source/WebCore/svg/SVGFilterElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFontElementh">trunk/Source/WebCore/svg/SVGFontElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFontFaceElementh">trunk/Source/WebCore/svg/SVGFontFaceElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFontFaceNameElementh">trunk/Source/WebCore/svg/SVGFontFaceNameElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFontFaceSrcElementh">trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGFontFaceUriElementh">trunk/Source/WebCore/svg/SVGFontFaceUriElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGForeignObjectElementh">trunk/Source/WebCore/svg/SVGForeignObjectElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGGlyphElementh">trunk/Source/WebCore/svg/SVGGlyphElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGGlyphRefElementh">trunk/Source/WebCore/svg/SVGGlyphRefElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGHKernElementh">trunk/Source/WebCore/svg/SVGHKernElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGImageElementh">trunk/Source/WebCore/svg/SVGImageElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGLineElementh">trunk/Source/WebCore/svg/SVGLineElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGLinearGradientElementh">trunk/Source/WebCore/svg/SVGLinearGradientElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMPathElementh">trunk/Source/WebCore/svg/SVGMPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMarkerElementh">trunk/Source/WebCore/svg/SVGMarkerElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMaskElementh">trunk/Source/WebCore/svg/SVGMaskElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGMissingGlyphElementh">trunk/Source/WebCore/svg/SVGMissingGlyphElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPathElementh">trunk/Source/WebCore/svg/SVGPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPatternElementh">trunk/Source/WebCore/svg/SVGPatternElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPolygonElementh">trunk/Source/WebCore/svg/SVGPolygonElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGPolylineElementh">trunk/Source/WebCore/svg/SVGPolylineElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRadialGradientElementh">trunk/Source/WebCore/svg/SVGRadialGradientElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGRectElementh">trunk/Source/WebCore/svg/SVGRectElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGSVGElementh">trunk/Source/WebCore/svg/SVGSVGElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGScriptElementh">trunk/Source/WebCore/svg/SVGScriptElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGStopElementh">trunk/Source/WebCore/svg/SVGStopElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGStyleElementh">trunk/Source/WebCore/svg/SVGStyleElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextElementh">trunk/Source/WebCore/svg/SVGTextElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTextPathElementh">trunk/Source/WebCore/svg/SVGTextPathElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGTitleElementh">trunk/Source/WebCore/svg/SVGTitleElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGUseElementh">trunk/Source/WebCore/svg/SVGUseElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGVKernElementh">trunk/Source/WebCore/svg/SVGVKernElement.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGViewElementh">trunk/Source/WebCore/svg/SVGViewElement.h</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin">trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacDOMWebDOMOperationsmm">trunk/Source/WebKit/mac/DOM/WebDOMOperations.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKitwinChangeLog">trunk/Source/WebKit/win/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitwinWebViewcpp">trunk/Source/WebKit/win/WebView.cpp</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleNodeHandlecpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleRangeHandlecpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessInjectedBundleInjectedBundlecpp">trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/ChangeLog        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -1,3 +1,311 @@
</span><ins>+2014-09-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Generate Element casting helper functions
+        https://bugs.webkit.org/show_bug.cgi?id=136839
+
+        Reviewed by Darin Adler.
+
+        Generate Element casting helper functions instead of requiring explicit
+        use of NODE_TYPE_CASTS() macro. Casting is now done using the following
+        form: downcast&lt;HTMLDivElement&gt;(), instead of toHTMLDivElement().
+
+        The previous form (i.e. toHTMLDivElement()) is still supported for now
+        by generating macros that convert these calls into the new form, until
+        the code base is ported to the new casting helpers.
+
+        The plan is also to use is&lt;HTMLDivElement&gt;() instead of
+        isHTMLDivElement() for consistency but this was not changed in this
+        patch to avoid blowing up the size.
+
+        This CL also updates the way we convert a JSValue into an
+        implementation pointer. Instead of using toHTMLDivElement(), which
+        looked like a cast, we now use JSHTMLDivElement::toWrapped(). This
+        avoids conflicting with the toXXXElement() macros and makes it
+        clearer this is not a simple cast.
+
+        No new tests, no behavior change.
+
+        * Modules/plugins/QuickTimePluginReplacement.mm:
+        (WebCore::QuickTimePluginReplacement::installReplacement):
+        * WebCore.exp.in:
+        * bindings/js/JSAudioBufferSourceNodeCustom.cpp:
+        (WebCore::JSAudioBufferSourceNode::setBuffer):
+        * bindings/js/JSBlobCustom.cpp:
+        (WebCore::constructJSBlob):
+        * bindings/js/JSCommandLineAPIHostCustom.cpp:
+        (WebCore::JSCommandLineAPIHost::getEventListeners):
+        (WebCore::JSCommandLineAPIHost::databaseId):
+        (WebCore::JSCommandLineAPIHost::storageId):
+        * bindings/js/JSDOMFormDataCustom.cpp:
+        (WebCore::toHTMLFormElementOrNull):
+        (WebCore::constructJSDOMFormData):
+        (WebCore::JSDOMFormData::append):
+        (WebCore::toHTMLFormElement): Deleted.
+        * bindings/js/JSDOMStringListCustom.cpp:
+        (WebCore::JSDOMStringList::toWrapped):
+        (WebCore::toDOMStringList): Deleted.
+        * bindings/js/JSDOMWindowCustom.cpp:
+        (WebCore::JSDOMWindow::toWrapped):
+        (WebCore::toDOMWindow): Deleted.
+        * bindings/js/JSDictionary.cpp:
+        (WebCore::JSDictionary::convertValue):
+        * bindings/js/JSDocumentCustom.cpp:
+        (WebCore::JSDocument::createTouchList):
+        * bindings/js/JSEventTargetCustom.cpp:
+        (WebCore::JSEventTarget::toWrapped):
+        (WebCore::toEventTarget): Deleted.
+        * bindings/js/JSExceptionBase.cpp:
+        (WebCore::toExceptionBase):
+        * bindings/js/JSHTMLMediaElementCustom.cpp:
+        (WebCore::JSHTMLMediaElement::setController):
+        * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
+        (WebCore::JSHTMLOptionsCollection::add):
+        (WebCore::JSHTMLOptionsCollection::remove):
+        * bindings/js/JSHTMLSelectElementCustom.cpp:
+        (WebCore::JSHTMLSelectElement::remove):
+        (WebCore::selectIndexSetter):
+        * bindings/js/JSInspectorFrontendHostCustom.cpp:
+        (WebCore::JSInspectorFrontendHost::showContextMenu):
+        * bindings/js/JSMessageEventCustom.cpp:
+        (WebCore::handleInitMessageEvent):
+        * bindings/js/JSMessagePortCustom.cpp:
+        (WebCore::fillMessagePortArray):
+        * bindings/js/JSNodeCustom.cpp:
+        (WebCore::JSNode::insertBefore):
+        (WebCore::JSNode::replaceChild):
+        (WebCore::JSNode::removeChild):
+        (WebCore::JSNode::appendChild):
+        * bindings/js/JSNodeFilterCustom.cpp:
+        (WebCore::JSNodeFilter::toWrapped):
+        (WebCore::toNodeFilter): Deleted.
+        * bindings/js/JSSubtleCryptoCustom.cpp:
+        (WebCore::JSSubtleCrypto::encrypt):
+        (WebCore::JSSubtleCrypto::decrypt):
+        (WebCore::JSSubtleCrypto::sign):
+        (WebCore::JSSubtleCrypto::verify):
+        (WebCore::JSSubtleCrypto::exportKey):
+        (WebCore::JSSubtleCrypto::wrapKey):
+        (WebCore::JSSubtleCrypto::unwrapKey):
+        * bindings/js/JSWebGLRenderingContextCustom.cpp:
+        (WebCore::JSWebGLRenderingContext::getAttachedShaders):
+        (WebCore::JSWebGLRenderingContext::getProgramParameter):
+        (WebCore::JSWebGLRenderingContext::getShaderParameter):
+        (WebCore::JSWebGLRenderingContext::getUniform):
+        (WebCore::dataFunctionf):
+        (WebCore::dataFunctioni):
+        (WebCore::dataFunctionMatrix):
+        * bindings/js/JSXMLHttpRequestCustom.cpp:
+        (WebCore::JSXMLHttpRequest::send):
+        * bindings/js/SerializedScriptValue.cpp:
+        (WebCore::CloneSerializer::dumpIfTerminal):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateHeader):
+        (GenerateImplementation):
+        (GenerateParametersCheck):
+        (JSValueToNative):
+        * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+        (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
+        (WebCore::JSTestActiveDOMObject::toWrapped):
+        (WebCore::toTestActiveDOMObject): Deleted.
+        * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
+        * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+        (WebCore::JSTestCustomNamedGetter::toWrapped):
+        (WebCore::toTestCustomNamedGetter): Deleted.
+        * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
+        * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+        (WebCore::JSTestEventConstructor::toWrapped):
+        (WebCore::toTestEventConstructor): Deleted.
+        * bindings/scripts/test/JS/JSTestEventConstructor.h:
+        * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+        (WebCore::jsTestEventTargetPrototypeFunctionDispatchEvent):
+        (WebCore::JSTestEventTarget::toWrapped):
+        (WebCore::toTestEventTarget): Deleted.
+        * bindings/scripts/test/JS/JSTestEventTarget.h:
+        * bindings/scripts/test/JS/JSTestException.cpp:
+        (WebCore::JSTestException::toWrapped):
+        (WebCore::toTestException): Deleted.
+        * bindings/scripts/test/JS/JSTestException.h:
+        * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+        (WebCore::JSTestGenerateIsReachable::toWrapped):
+        (WebCore::toTestGenerateIsReachable): Deleted.
+        * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
+        * bindings/scripts/test/JS/JSTestInterface.cpp:
+        (WebCore::setJSTestInterfaceImplementsNode):
+        (WebCore::setJSTestInterfaceSupplementalNode):
+        (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
+        (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
+        (WebCore::JSTestInterface::toWrapped):
+        (WebCore::toTestInterface): Deleted.
+        * bindings/scripts/test/JS/JSTestInterface.h:
+        * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+        (WebCore::JSTestMediaQueryListListener::toWrapped):
+        (WebCore::toTestMediaQueryListListener): Deleted.
+        * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
+        * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+        (WebCore::JSTestNamedConstructor::toWrapped):
+        (WebCore::toTestNamedConstructor): Deleted.
+        * bindings/scripts/test/JS/JSTestNamedConstructor.h:
+        * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+        (WebCore::JSTestNondeterministic::toWrapped):
+        (WebCore::toTestNondeterministic): Deleted.
+        * bindings/scripts/test/JS/JSTestNondeterministic.h:
+        * bindings/scripts/test/JS/JSTestObj.cpp:
+        (WebCore::setJSTestObjTestObjAttr):
+        (WebCore::setJSTestObjXMLObjAttr):
+        (WebCore::setJSTestObjWithScriptExecutionContextAttribute):
+        (WebCore::setJSTestObjWithScriptStateAttributeRaises):
+        (WebCore::setJSTestObjWithScriptExecutionContextAttributeRaises):
+        (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttribute):
+        (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateAttributeRaises):
+        (WebCore::setJSTestObjWithScriptExecutionContextAndScriptStateWithSpacesAttribute):
+        (WebCore::setJSTestObjWithScriptArgumentsAndCallStackAttribute):
+        (WebCore::setJSTestObjMutablePoint):
+        (WebCore::setJSTestObjImmutablePoint):
+        (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
+        (WebCore::jsTestObjPrototypeFunctionByteMethodWithArgs):
+        (WebCore::jsTestObjPrototypeFunctionOctetMethodWithArgs):
+        (WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
+        (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
+        (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
+        (WebCore::jsTestObjPrototypeFunctionMethodThatRequiresAllArgsAndThrows):
+        (WebCore::jsTestObjPrototypeFunctionOverloadedMethod1):
+        (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
+        (WebCore::jsTestObjPrototypeFunctionOverloadedMethod8):
+        (WebCore::jsTestObjPrototypeFunctionConvert1):
+        (WebCore::jsTestObjPrototypeFunctionConvert2):
+        (WebCore::jsTestObjPrototypeFunctionConvert4):
+        (WebCore::jsTestObjPrototypeFunctionConvert5):
+        (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithSequence):
+        (WebCore::jsTestObjPrototypeFunctionStrictFunctionWithArray):
+        (WebCore::jsTestObjPrototypeFunctionVariadicNodeMethod):
+        (WebCore::JSTestObj::toWrapped):
+        (WebCore::toTestObj): Deleted.
+        * bindings/scripts/test/JS/JSTestObj.h:
+        * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+        (WebCore::JSTestOverloadedConstructorsConstructor::constructJSTestOverloadedConstructors3):
+        (WebCore::JSTestOverloadedConstructors::toWrapped):
+        (WebCore::toTestOverloadedConstructors): Deleted.
+        * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
+        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+        (WebCore::JSTestSerializedScriptValueInterface::toWrapped):
+        (WebCore::toTestSerializedScriptValueInterface): Deleted.
+        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
+        * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+        (WebCore::jsTestTypedefsPrototypeFunctionMethodWithSequenceArg):
+        (WebCore::jsTestTypedefsPrototypeFunctionCallWithSequenceThatRequiresInclude):
+        (WebCore::JSTestTypedefs::toWrapped):
+        (WebCore::toTestTypedefs): Deleted.
+        * bindings/scripts/test/JS/JSTestTypedefs.h:
+        * bindings/scripts/test/JS/JSattribute.cpp:
+        (WebCore::JSattribute::toWrapped):
+        (WebCore::toattribute): Deleted.
+        * bindings/scripts/test/JS/JSattribute.h:
+        * bindings/scripts/test/JS/JSreadonly.cpp:
+        (WebCore::JSreadonly::toWrapped):
+        (WebCore::toreadonly): Deleted.
+        * bindings/scripts/test/JS/JSreadonly.h:
+        * dom/Element.h:
+        (WebCore::downcast):
+        * dom/make_names.pl:
+        (printTypeHelpers):
+        * html/HTMLAnchorElement.h:
+        * html/HTMLAreaElement.h:
+        * html/HTMLAudioElement.h:
+        * html/HTMLBaseElement.h:
+        * html/HTMLBodyElement.h:
+        * html/HTMLCanvasElement.h:
+        * html/HTMLDataListElement.h:
+        * html/HTMLDetailsElement.h:
+        * html/HTMLDivElement.h:
+        * html/HTMLEmbedElement.h:
+        * html/HTMLFieldSetElement.h:
+        * html/HTMLFormElement.h:
+        * html/HTMLFrameElement.h:
+        * html/HTMLFrameSetElement.h:
+        * html/HTMLHtmlElement.h:
+        * html/HTMLIFrameElement.h:
+        * html/HTMLImageElement.h:
+        * html/HTMLInputElement.h:
+        * html/HTMLLabelElement.h:
+        * html/HTMLLegendElement.h:
+        * html/HTMLLinkElement.h:
+        * html/HTMLMapElement.h:
+        * html/HTMLMarqueeElement.h:
+        * html/HTMLMetaElement.h:
+        * html/HTMLMeterElement.h:
+        * html/HTMLOListElement.h:
+        * html/HTMLObjectElement.h:
+        * html/HTMLOptGroupElement.h:
+        * html/HTMLOptionElement.h:
+        * html/HTMLParamElement.h:
+        * html/HTMLProgressElement.h:
+        * html/HTMLScriptElement.h:
+        * html/HTMLSelectElement.h:
+        * html/HTMLSourceElement.h:
+        * html/HTMLStyleElement.h:
+        * html/HTMLSummaryElement.h:
+        * html/HTMLTableCaptionElement.h:
+        * html/HTMLTableElement.h:
+        * html/HTMLTableRowElement.h:
+        * html/HTMLTemplateElement.h:
+        * html/HTMLTextAreaElement.h:
+        * html/HTMLTitleElement.h:
+        * html/HTMLTrackElement.h:
+        * html/HTMLVideoElement.h:
+        * inspector/InspectorDOMAgent.cpp:
+        (WebCore::InspectorDOMAgent::scriptValueAsNode):
+        * mathml/MathMLMencloseElement.h:
+        * svg/SVGAltGlyphDefElement.h:
+        * svg/SVGAltGlyphElement.h:
+        * svg/SVGAltGlyphItemElement.h:
+        * svg/SVGAnimateMotionElement.h:
+        * svg/SVGAnimateTransformElement.h:
+        * svg/SVGCircleElement.h:
+        * svg/SVGClipPathElement.h:
+        * svg/SVGCursorElement.h:
+        * svg/SVGEllipseElement.h:
+        * svg/SVGFEDistantLightElement.h:
+        * svg/SVGFEFuncAElement.h:
+        * svg/SVGFEFuncBElement.h:
+        * svg/SVGFEFuncGElement.h:
+        * svg/SVGFEFuncRElement.h:
+        * svg/SVGFEMergeNodeElement.h:
+        * svg/SVGFEPointLightElement.h:
+        * svg/SVGFESpotLightElement.h:
+        * svg/SVGFilterElement.h:
+        * svg/SVGFontElement.h:
+        * svg/SVGFontFaceElement.h:
+        * svg/SVGFontFaceNameElement.h:
+        * svg/SVGFontFaceSrcElement.h:
+        * svg/SVGFontFaceUriElement.h:
+        * svg/SVGForeignObjectElement.h:
+        * svg/SVGGlyphElement.h:
+        * svg/SVGGlyphRefElement.h:
+        * svg/SVGHKernElement.h:
+        * svg/SVGImageElement.h:
+        * svg/SVGLineElement.h:
+        * svg/SVGLinearGradientElement.h:
+        * svg/SVGMPathElement.h:
+        * svg/SVGMarkerElement.h:
+        * svg/SVGMaskElement.h:
+        * svg/SVGMissingGlyphElement.h:
+        * svg/SVGPathElement.h:
+        * svg/SVGPatternElement.h:
+        * svg/SVGPolygonElement.h:
+        * svg/SVGPolylineElement.h:
+        * svg/SVGRadialGradientElement.h:
+        * svg/SVGRectElement.h:
+        * svg/SVGSVGElement.h:
+        * svg/SVGScriptElement.h:
+        * svg/SVGStopElement.h:
+        * svg/SVGStyleElement.h:
+        * svg/SVGTextElement.h:
+        * svg/SVGTextPathElement.h:
+        * svg/SVGTitleElement.h:
+        * svg/SVGUseElement.h:
+        * svg/SVGVKernElement.h:
+        * svg/SVGViewElement.h:
+
</ins><span class="cx"> 2014-09-21  Christophe Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix post-mortem nits for r173724
</span></span></pre></div>
<a id="trunkSourceWebCoreModulespluginsQuickTimePluginReplacementmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/Modules/plugins/QuickTimePluginReplacement.mm        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -213,7 +213,7 @@
</span><span class="cx">     // Get the &lt;video&gt; created to replace the plug-in.
</span><span class="cx">     JSC::JSValue value = replacement.get(exec, JSC::Identifier(exec, &quot;video&quot;));
</span><span class="cx">     if (!exec-&gt;hadException() &amp;&amp; !value.isUndefinedOrNull())
</span><del>-        m_mediaElement = toHTMLVideoElement(value);
</del><ins>+        m_mediaElement = JSHTMLVideoElement::toWrapped(value);
</ins><span class="cx"> 
</span><span class="cx">     if (!m_mediaElement) {
</span><span class="cx">         LOG(Plugins, &quot;%p - Failed to find &lt;video&gt; element created by QuickTime plugin replacement script.&quot;, this);
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/WebCore.exp.in        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -77,6 +77,7 @@
</span><span class="cx"> __ZN7WebCore10FloatPointC1ERKNS_8IntPointE
</span><span class="cx"> __ZN7WebCore10FontGlyphs15releaseFontDataEv
</span><span class="cx"> __ZN7WebCore10JSDocument6s_infoE
</span><ins>+__ZN7WebCore10JSDocument9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore10LayoutRect5scaleEf
</span><span class="cx"> __ZN7WebCore10LayoutRect5uniteERKS0_
</span><span class="cx"> __ZN7WebCore10LayoutRectC1ERKNS_9FloatRectE
</span><span class="lines">@@ -124,7 +125,6 @@
</span><span class="cx"> __ZN7WebCore10deleteFileERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore10fileExistsERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore10setCookiesEPNS_8DocumentERKNS_3URLERKN3WTF6StringE
</span><del>-__ZN7WebCore10toDocumentEN3JSC7JSValueE
</del><span class="cx"> __ZN7WebCore11BitmapImage13getCGImageRefEv
</span><span class="cx"> __ZN7WebCore11BitmapImageC1EP7CGImagePNS_13ImageObserverE
</span><span class="cx"> __ZN7WebCore11BitmapImageC1EPNS_13ImageObserverE
</span><span class="lines">@@ -667,7 +667,6 @@
</span><span class="cx"> __ZN7WebCore15pathGetFileNameERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore15reportExceptionEPN3JSC9ExecStateENS0_7JSValueEPNS_12CachedScriptE
</span><span class="cx"> __ZN7WebCore15setDOMExceptionEPN3JSC9ExecStateEi
</span><del>-__ZN7WebCore15toDOMStringListEPN3JSC9ExecStateENS0_7JSValueE
</del><span class="cx"> __ZN7WebCore15visitedLinkHashEPKtj
</span><span class="cx"> __ZN7WebCore15visitedLinkHashERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore16ApplicationCache18diskUsageForOriginEPNS_14SecurityOriginE
</span><span class="lines">@@ -1242,6 +1241,7 @@
</span><span class="cx"> __ZN7WebCore6Editor7copyURLERKNS_3URLERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore6Editor7outdentEv
</span><span class="cx"> __ZN7WebCore6JSNode6s_infoE
</span><ins>+__ZN7WebCore6JSNode9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore6LengthC1EN3WTF7PassRefINS_16CalculationValueEEE
</span><span class="cx"> __ZN7WebCore6Region21updateBoundsFromShapeEv
</span><span class="cx"> __ZN7WebCore6Region5uniteERKS0_
</span><span class="lines">@@ -1259,7 +1259,6 @@
</span><span class="cx"> __ZN7WebCore6Widget9setParentEPNS_10ScrollViewE
</span><span class="cx"> __ZN7WebCore6WidgetD2Ev
</span><span class="cx"> __ZN7WebCore6toInt8EPN3JSC9ExecStateENS0_7JSValueENS_30IntegerConversionConfigurationE
</span><del>-__ZN7WebCore6toNodeEN3JSC7JSValueE
</del><span class="cx"> __ZN7WebCore7Element12setAttributeERKN3WTF12AtomicStringES4_Ri
</span><span class="cx"> __ZN7WebCore7Element12setAttributeERKNS_13QualifiedNameERKN3WTF12AtomicStringE
</span><span class="cx"> __ZN7WebCore7Element16createShadowRootERi
</span><span class="lines">@@ -1273,6 +1272,7 @@
</span><span class="cx"> __ZN7WebCore7IntRectC1ERKNS_9FloatRectE
</span><span class="cx"> __ZN7WebCore7IntSizeC1ERK6CGSize
</span><span class="cx"> __ZN7WebCore7IntSizeC1ERKNS_9FloatSizeE
</span><ins>+__ZN7WebCore7JSRange9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore7TextRun19allowsRoundingHacksEv
</span><span class="cx"> __ZN7WebCore7TextRun21s_allowsRoundingHacksE
</span><span class="cx"> __ZN7WebCore7TextRun22setAllowsRoundingHacksEb
</span><span class="lines">@@ -1281,7 +1281,6 @@
</span><span class="cx"> __ZN7WebCore7makeRGBEiii
</span><span class="cx"> __ZN7WebCore7toInt16EPN3JSC9ExecStateENS0_7JSValueENS_30IntegerConversionConfigurationE
</span><span class="cx"> __ZN7WebCore7toInt64EPN3JSC9ExecStateENS0_7JSValueENS_30IntegerConversionConfigurationE
</span><del>-__ZN7WebCore7toRangeEN3JSC7JSValueE
</del><span class="cx"> __ZN7WebCore7toUInt8EPN3JSC9ExecStateENS0_7JSValueENS_30IntegerConversionConfigurationE
</span><span class="cx"> __ZN7WebCore8BlobData14setContentTypeERKN3WTF6StringE
</span><span class="cx"> __ZN7WebCore8CSSValue7destroyEv
</span><span class="lines">@@ -1495,6 +1494,7 @@
</span><span class="cx"> __ZN7WebCore9InlineBox14selectionStateEv
</span><span class="cx"> __ZN7WebCore9InlineBox16placeEllipsisBoxEbfffRfRb
</span><span class="cx"> __ZN7WebCore9JSElement6s_infoE
</span><ins>+__ZN7WebCore9JSElement9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore9LayerPoolC1Ev
</span><span class="cx"> __ZN7WebCore9LayerPoolD1Ev
</span><span class="cx"> __ZN7WebCore9PageCache11setCapacityEi
</span><span class="lines">@@ -1535,7 +1535,6 @@
</span><span class="cx"> __ZN7WebCore9makeRangeERKNS_15VisiblePositionES2_
</span><span class="cx"> __ZN7WebCore9pageCacheEv
</span><span class="cx"> __ZN7WebCore9plainTextEPKNS_5RangeEtb
</span><del>-__ZN7WebCore9toElementEN3JSC7JSValueE
</del><span class="cx"> __ZN7WebCore9unionRectERKN3WTF6VectorINS_9FloatRectELm0ENS0_15CrashOnOverflowEEE
</span><span class="cx"> __ZNK3JSC8Bindings10RootObject12globalObjectEv
</span><span class="cx"> __ZNK3WTF6String14createCFStringEv
</span><span class="lines">@@ -3205,7 +3204,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(MEDIA_SOURCE)
</span><span class="cx"> __ZN7WebCore12SourceBuffer25bufferedSamplesForTrackIDERKN3WTF12AtomicStringE
</span><del>-__ZN7WebCore14toSourceBufferEN3JSC7JSValueE
</del><ins>+__ZN7WebCore14JSSourceBuffer9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore26MockMediaPlayerMediaSource19registerMediaEngineEPFvPFN3WTF10PassOwnPtrINS_27MediaPlayerPrivateInterfaceEEEPNS_11MediaPlayerEEPFvRNS1_7HashSetINS1_6StringENS1_10StringHashENS1_10HashTraitsISA_EEEEEPFNS5_12SupportsTypeERKNS_28MediaEngineSupportParametersEEPFvRNS1_6VectorISA_Lm0ENS1_15CrashOnOverflowEEEEPFvvEPFvRKSA_EPFbSX_SX_EE
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="lines">@@ -3257,7 +3256,7 @@
</span><span class="cx"> __ZN7WebCore12Notification8finalizeEv
</span><span class="cx"> __ZN7WebCore12NotificationC1Ev
</span><span class="cx"> __ZN7WebCore12NotificationD1Ev
</span><del>-__ZN7WebCore14toNotificationEN3JSC7JSValueE
</del><ins>+__ZN7WebCore14JSNotification9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore19provideNotificationEPNS_4PageEPNS_18NotificationClientE
</span><span class="cx"> __ZN7WebCore22NotificationController10clientFromEPNS_4PageE
</span><span class="cx"> #endif
</span><span class="lines">@@ -3369,7 +3368,7 @@
</span><span class="cx"> #if ENABLE(VIDEO)
</span><span class="cx"> .objc_class_name_WebVideoFullscreenController
</span><span class="cx"> __ZN7WebCore10TimeRanges3addEdd
</span><del>-__ZN7WebCore12toTimeRangesEN3JSC7JSValueE
</del><ins>+__ZN7WebCore12JSTimeRanges9toWrappedEN3JSC7JSValueE
</ins><span class="cx"> __ZN7WebCore16HTMLMediaElement12endScrubbingEv
</span><span class="cx"> __ZN7WebCore16HTMLMediaElement14beginScrubbingEv
</span><span class="cx"> __ZN7WebCore16HTMLMediaElement14exitFullscreenEv
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSAudioBufferSourceNodeCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSAudioBufferSourceNodeCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSAudioBufferSourceNodeCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSAudioBufferSourceNodeCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -41,7 +41,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSAudioBufferSourceNode::setBuffer(ExecState* exec, JSValue value)
</span><span class="cx"> {
</span><del>-    AudioBuffer* buffer = toAudioBuffer(value);
</del><ins>+    AudioBuffer* buffer = JSAudioBuffer::toWrapped(value);
</ins><span class="cx">     if (!buffer) {
</span><span class="cx">         exec-&gt;vm().throwException(exec, createTypeError(exec, &quot;Value is not of type AudioBuffer&quot;));
</span><span class="cx">         return;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSBlobCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSBlobCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSBlobCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSBlobCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -121,7 +121,7 @@
</span><span class="cx">             blobBuilder.append(arrayBuffer);
</span><span class="cx">         else if (RefPtr&lt;ArrayBufferView&gt; arrayBufferView = toArrayBufferView(item))
</span><span class="cx">             blobBuilder.append(arrayBufferView.release());
</span><del>-        else if (Blob* blob = toBlob(item))
</del><ins>+        else if (Blob* blob = JSBlob::toWrapped(item))
</ins><span class="cx">             blobBuilder.append(blob);
</span><span class="cx">         else {
</span><span class="cx">             String string = item.toString(exec)-&gt;value(exec);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCommandLineAPIHostCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSCommandLineAPIHostCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx">     if (!value.isObject() || value.isNull())
</span><span class="cx">         return jsUndefined();
</span><span class="cx"> 
</span><del>-    Node* node = toNode(value);
</del><ins>+    Node* node = JSNode::toWrapped(value);
</ins><span class="cx">     if (!node)
</span><span class="cx">         return jsUndefined();
</span><span class="cx"> 
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(SQL_DATABASE)
</span><del>-    Database* database = toDatabase(exec-&gt;uncheckedArgument(0));
</del><ins>+    Database* database = JSDatabase::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (database)
</span><span class="cx">         return jsStringWithCache(exec, impl().databaseIdImpl(database));
</span><span class="cx"> #endif
</span><span class="lines">@@ -162,7 +162,7 @@
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return jsUndefined();
</span><span class="cx"> 
</span><del>-    Storage* storage = toStorage(exec-&gt;uncheckedArgument(0));
</del><ins>+    Storage* storage = JSStorage::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (storage)
</span><span class="cx">         return jsStringWithCache(exec, impl().storageIdImpl(storage));
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMFormDataCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMFormDataCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMFormDataCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSDOMFormDataCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -41,18 +41,16 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-static HTMLFormElement* toHTMLFormElement(JSC::JSValue value)
</del><ins>+static HTMLFormElement* toHTMLFormElementOrNull(JSC::JSValue value)
</ins><span class="cx"> {
</span><del>-    return value.inherits(JSHTMLFormElement::info()) ? &amp;jsCast&lt;JSHTMLFormElement*&gt;(asObject(value))-&gt;impl() : 0;
</del><ins>+    return value.inherits(JSHTMLFormElement::info()) ? &amp;jsCast&lt;JSHTMLFormElement*&gt;(asObject(value))-&gt;impl() : nullptr;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> EncodedJSValue JSC_HOST_CALL constructJSDOMFormData(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     DOMConstructorObject* jsConstructor = jsCast&lt;DOMConstructorObject*&gt;(exec-&gt;callee());
</span><span class="cx"> 
</span><del>-    HTMLFormElement* form = 0;
-    if (exec-&gt;argumentCount() &gt; 0)
-        form = toHTMLFormElement(exec-&gt;argument(0));
</del><ins>+    HTMLFormElement* form = toHTMLFormElementOrNull(exec-&gt;argument(0));
</ins><span class="cx">     RefPtr&lt;DOMFormData&gt; domFormData = DOMFormData::create(form);
</span><span class="cx">     return JSValue::encode(asObject(toJS(exec, jsConstructor-&gt;globalObject(), domFormData.get())));
</span><span class="cx"> }
</span><span class="lines">@@ -66,7 +64,7 @@
</span><span class="cx">             String filename;
</span><span class="cx">             if (exec-&gt;argumentCount() &gt;= 3 &amp;&amp; !exec-&gt;argument(2).isUndefinedOrNull())
</span><span class="cx">                 filename = exec-&gt;argument(2).toString(exec)-&gt;value(exec);
</span><del>-            impl().append(name, toBlob(value), filename);
</del><ins>+            impl().append(name, JSBlob::toWrapped(value), filename);
</ins><span class="cx">         } else
</span><span class="cx">             impl().append(name, value.toString(exec)-&gt;value(exec));
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMStringListCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMStringListCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMStringListCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSDOMStringListCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -25,7 +25,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;DOMStringList&gt; toDOMStringList(ExecState* exec, JSValue value)
</del><ins>+PassRefPtr&lt;DOMStringList&gt; JSDOMStringList::toWrapped(ExecState* exec, JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (value.inherits(JSDOMStringList::info()))
</span><span class="cx">         return &amp;jsCast&lt;JSDOMStringList*&gt;(asObject(value))-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMWindowCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -684,7 +684,7 @@
</span><span class="cx">     return jsUndefined();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-DOMWindow* toDOMWindow(JSValue value)
</del><ins>+DOMWindow* JSDOMWindow::toWrapped(JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (!value.isObject())
</span><span class="cx">         return 0;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDictionarycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDictionary.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDictionary.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSDictionary.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -155,22 +155,22 @@
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(ExecState*, JSValue value, RefPtr&lt;DOMWindow&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toDOMWindow(value);
</del><ins>+    result = JSDOMWindow::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(ExecState*, JSValue value, RefPtr&lt;EventTarget&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toEventTarget(value);
</del><ins>+    result = JSEventTarget::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(ExecState*, JSValue value, RefPtr&lt;Node&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toNode(value);
</del><ins>+    result = JSNode::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(ExecState*, JSValue value, RefPtr&lt;Storage&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toStorage(value);
</del><ins>+    result = JSStorage::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(ExecState* exec, JSValue value, MessagePortArray&amp; result)
</span><span class="lines">@@ -222,31 +222,31 @@
</span><span class="cx"> #if ENABLE(ENCRYPTED_MEDIA)
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr&lt;MediaKeyError&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toMediaKeyError(value);
</del><ins>+    result = JSMediaKeyError::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(MEDIA_STREAM)
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr&lt;MediaStream&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toMediaStream(value);
</del><ins>+    result = JSMediaStream::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr&lt;MediaStreamTrack&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toMediaStreamTrack(value);
</del><ins>+    result = JSMediaStreamTrack::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(FONT_LOAD_EVENTS)
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr&lt;CSSFontFaceRule&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toCSSFontFaceRule(value);
</del><ins>+    result = JSCSSFontFaceRule::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr&lt;DOMError&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toDOMError(value);
</del><ins>+    result = JSDOMError::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState* exec, JSC::JSValue value, RefPtr&lt;VoidCallback&gt;&amp; result)
</span><span class="lines">@@ -261,7 +261,7 @@
</span><span class="cx"> #if ENABLE(GAMEPAD)
</span><span class="cx"> void JSDictionary::convertValue(JSC::ExecState*, JSC::JSValue value, RefPtr&lt;Gamepad&gt;&amp; result)
</span><span class="cx"> {
</span><del>-    result = toGamepad(value);
</del><ins>+    result = JSGamepad::toWrapped(value);
</ins><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDocumentCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDocumentCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDocumentCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSDocumentCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -121,7 +121,7 @@
</span><span class="cx">     RefPtr&lt;TouchList&gt; touchList = TouchList::create();
</span><span class="cx"> 
</span><span class="cx">     for (size_t i = 0; i &lt; exec-&gt;argumentCount(); i++)
</span><del>-        touchList-&gt;append(toTouch(exec-&gt;argument(i)));
</del><ins>+        touchList-&gt;append(JSTouch::toWrapped(exec-&gt;argument(i)));
</ins><span class="cx"> 
</span><span class="cx">     return toJS(exec, globalObject(), touchList.release());
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSEventTargetCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSEventTargetCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSEventTargetCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSEventTargetCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">     if (value.inherits(JS##interfaceName::info()))                      \
</span><span class="cx">         return &amp;jsCast&lt;JS##interfaceName*&gt;(asObject(value))-&gt;impl();
</span><span class="cx"> 
</span><del>-EventTarget* toEventTarget(JSC::JSValue value)
</del><ins>+EventTarget* JSEventTarget::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     TRY_TO_UNWRAP_WITH_INTERFACE(DOMWindowShell)
</span><span class="cx">     TRY_TO_UNWRAP_WITH_INTERFACE(EventTarget)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSExceptionBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSExceptionBase.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSExceptionBase.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSExceptionBase.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -41,20 +41,20 @@
</span><span class="cx"> 
</span><span class="cx"> ExceptionBase* toExceptionBase(JSC::JSValue value)
</span><span class="cx"> {
</span><del>-    if (DOMCoreException* domException = toDOMCoreException(value))
</del><ins>+    if (DOMCoreException* domException = JSDOMCoreException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(domException);
</span><del>-    if (RangeException* rangeException = toRangeException(value))
</del><ins>+    if (RangeException* rangeException = JSRangeException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(rangeException);
</span><del>-    if (EventException* eventException = toEventException(value))
</del><ins>+    if (EventException* eventException = JSEventException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(eventException);
</span><del>-    if (XMLHttpRequestException* xmlHttpException = toXMLHttpRequestException(value))
</del><ins>+    if (XMLHttpRequestException* xmlHttpException = JSXMLHttpRequestException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(xmlHttpException);
</span><del>-    if (SVGException* svgException = toSVGException(value))
</del><ins>+    if (SVGException* svgException = JSSVGException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(svgException);
</span><del>-    if (XPathException* pathException = toXPathException(value))
</del><ins>+    if (XPathException* pathException = JSXPathException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(pathException);
</span><span class="cx"> #if ENABLE(SQL_DATABASE)
</span><del>-    if (SQLException* pathException = toSQLException(value))
</del><ins>+    if (SQLException* pathException = JSSQLException::toWrapped(value))
</ins><span class="cx">         return reinterpret_cast&lt;ExceptionBase*&gt;(pathException);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSHTMLMediaElementCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx">     // On setting, it must first remove the element's mediagroup attribute, if any, 
</span><span class="cx">     impl().setMediaGroup(String());
</span><span class="cx">     // and then set the current media controller to the given value.
</span><del>-    impl().setController(toMediaController(value));
</del><ins>+    impl().setController(JSMediaController::toWrapped(value));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSHTMLOptionsCollectionCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> JSValue JSHTMLOptionsCollection::add(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     HTMLOptionsCollection&amp; imp = impl();
</span><del>-    HTMLOptionElement* option = toHTMLOptionElement(exec-&gt;argument(0));
</del><ins>+    HTMLOptionElement* option = JSHTMLOptionElement::toWrapped(exec-&gt;argument(0));
</ins><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 2)
</span><span class="cx">         imp.add(option, ec);
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx"> {
</span><span class="cx">     // The argument can be an HTMLOptionElement or an index.
</span><span class="cx">     JSValue argument = exec-&gt;argument(0);
</span><del>-    if (HTMLOptionElement* option = toHTMLOptionElement(argument))
</del><ins>+    if (HTMLOptionElement* option = JSHTMLOptionElement::toWrapped(argument))
</ins><span class="cx">         impl().remove(option);
</span><span class="cx">     else
</span><span class="cx">         impl().remove(argument.toInt32(exec));
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSHTMLSelectElementCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSHTMLSelectElementCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSHTMLSelectElementCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSHTMLSelectElementCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx">         setDOMException(exec, ec);
</span><span class="cx">     } else {
</span><span class="cx">         // The HTMLSelectElement::remove() function can take either an option object or the index of an option.
</span><del>-        if (HTMLOptionElement* option = toHTMLOptionElement(exec-&gt;argument(0)))
</del><ins>+        if (HTMLOptionElement* option = JSHTMLOptionElement::toWrapped(exec-&gt;argument(0)))
</ins><span class="cx">             select.remove(option);
</span><span class="cx">         else
</span><span class="cx">             select.removeByIndex(exec-&gt;argument(0).toInt32(exec));
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">         select-&gt;removeByIndex(index);
</span><span class="cx">     else {
</span><span class="cx">         ExceptionCode ec = 0;
</span><del>-        HTMLOptionElement* option = toHTMLOptionElement(value);
</del><ins>+        HTMLOptionElement* option = JSHTMLOptionElement::toWrapped(value);
</ins><span class="cx">         if (!option)
</span><span class="cx">             ec = TYPE_MISMATCH_ERR;
</span><span class="cx">         else
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSInspectorFrontendHostCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -131,7 +131,7 @@
</span><span class="cx"> #if ENABLE(CONTEXT_MENUS)
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 2)
</span><span class="cx">         return jsUndefined();
</span><del>-    Event* event = toEvent(exec-&gt;argument(0));
</del><ins>+    Event* event = JSEvent::toWrapped(exec-&gt;argument(0));
</ins><span class="cx"> 
</span><span class="cx">     JSArray* array = asArray(exec-&gt;argument(1));
</span><span class="cx">     ContextMenu menu;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSMessageEventCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSMessageEventCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSMessageEventCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSMessageEventCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx">     bool cancelableArg = exec-&gt;argument(2).toBoolean(exec);
</span><span class="cx">     const String originArg = exec-&gt;argument(4).toString(exec)-&gt;value(exec);
</span><span class="cx">     const String lastEventIdArg = exec-&gt;argument(5).toString(exec)-&gt;value(exec);
</span><del>-    DOMWindow* sourceArg = toDOMWindow(exec-&gt;argument(6));
</del><ins>+    DOMWindow* sourceArg = JSDOMWindow::toWrapped(exec-&gt;argument(6));
</ins><span class="cx">     std::unique_ptr&lt;MessagePortArray&gt; messagePorts;
</span><span class="cx">     OwnPtr&lt;ArrayBufferArray&gt; arrayBuffers;
</span><span class="cx">     if (!exec-&gt;argument(7).isUndefinedOrNull()) {
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSMessagePortCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSMessagePortCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSMessagePortCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSMessagePortCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -84,7 +84,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         // Validation of Objects implementing an interface, per WebIDL spec 4.1.15.
</span><del>-        RefPtr&lt;MessagePort&gt; port = toMessagePort(value);
</del><ins>+        RefPtr&lt;MessagePort&gt; port = JSMessagePort::toWrapped(value);
</ins><span class="cx">         if (port) {
</span><span class="cx">             // Check for duplicate ports.
</span><span class="cx">             if (portArray.contains(port)) {
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSNodeCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -135,7 +135,7 @@
</span><span class="cx"> JSValue JSNode::insertBefore(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    bool ok = impl().insertBefore(toNode(exec-&gt;argument(0)), toNode(exec-&gt;argument(1)), ec);
</del><ins>+    bool ok = impl().insertBefore(JSNode::toWrapped(exec-&gt;argument(0)), JSNode::toWrapped(exec-&gt;argument(1)), ec);
</ins><span class="cx">     setDOMException(exec, ec);
</span><span class="cx">     if (ok)
</span><span class="cx">         return exec-&gt;argument(0);
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx"> JSValue JSNode::replaceChild(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    bool ok = impl().replaceChild(toNode(exec-&gt;argument(0)), toNode(exec-&gt;argument(1)), ec);
</del><ins>+    bool ok = impl().replaceChild(JSNode::toWrapped(exec-&gt;argument(0)), JSNode::toWrapped(exec-&gt;argument(1)), ec);
</ins><span class="cx">     setDOMException(exec, ec);
</span><span class="cx">     if (ok)
</span><span class="cx">         return exec-&gt;argument(1);
</span><span class="lines">@@ -155,7 +155,7 @@
</span><span class="cx"> JSValue JSNode::removeChild(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    bool ok = impl().removeChild(toNode(exec-&gt;argument(0)), ec);
</del><ins>+    bool ok = impl().removeChild(JSNode::toWrapped(exec-&gt;argument(0)), ec);
</ins><span class="cx">     setDOMException(exec, ec);
</span><span class="cx">     if (ok)
</span><span class="cx">         return exec-&gt;argument(0);
</span><span class="lines">@@ -165,7 +165,7 @@
</span><span class="cx"> JSValue JSNode::appendChild(ExecState* exec)
</span><span class="cx"> {
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    bool ok = impl().appendChild(toNode(exec-&gt;argument(0)), ec);
</del><ins>+    bool ok = impl().appendChild(JSNode::toWrapped(exec-&gt;argument(0)), ec);
</ins><span class="cx">     setDOMException(exec, ec);
</span><span class="cx">     if (ok)
</span><span class="cx">         return exec-&gt;argument(0);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSNodeFilterCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSNodeFilterCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSNodeFilterCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSNodeFilterCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx">     visitor.addOpaqueRoot(&amp;impl());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;NodeFilter&gt; toNodeFilter(JSC::VM&amp; vm, JSC::JSValue value)
</del><ins>+PassRefPtr&lt;NodeFilter&gt; JSNodeFilter::toWrapped(JSC::VM&amp; vm, JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (value.inherits(JSNodeFilter::info()))
</span><span class="cx">         return &amp;JSC::jsCast&lt;JSNodeFilter*&gt;(asObject(value))-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSSubtleCryptoCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; key = toCryptoKey(exec-&gt;uncheckedArgument(1));
</del><ins>+    RefPtr&lt;CryptoKey&gt; key = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="lines">@@ -197,7 +197,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; key = toCryptoKey(exec-&gt;uncheckedArgument(1));
</del><ins>+    RefPtr&lt;CryptoKey&gt; key = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="lines">@@ -248,7 +248,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; key = toCryptoKey(exec-&gt;uncheckedArgument(1));
</del><ins>+    RefPtr&lt;CryptoKey&gt; key = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="lines">@@ -299,7 +299,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; key = toCryptoKey(exec-&gt;uncheckedArgument(1));
</del><ins>+    RefPtr&lt;CryptoKey&gt; key = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="lines">@@ -600,7 +600,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; key = toCryptoKey(exec-&gt;uncheckedArgument(1));
</del><ins>+    RefPtr&lt;CryptoKey&gt; key = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="lines">@@ -630,11 +630,11 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; key = toCryptoKey(exec-&gt;uncheckedArgument(1));
</del><ins>+    RefPtr&lt;CryptoKey&gt; key = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; wrappingKey = toCryptoKey(exec-&gt;uncheckedArgument(2));
</del><ins>+    RefPtr&lt;CryptoKey&gt; wrappingKey = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(2));
</ins><span class="cx">     if (!key)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="lines">@@ -713,7 +713,7 @@
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    RefPtr&lt;CryptoKey&gt; unwrappingKey = toCryptoKey(exec-&gt;uncheckedArgument(2));
</del><ins>+    RefPtr&lt;CryptoKey&gt; unwrappingKey = JSCryptoKey::toWrapped(exec-&gt;uncheckedArgument(2));
</ins><span class="cx">     if (!unwrappingKey)
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSWebGLRenderingContextCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -257,7 +257,7 @@
</span><span class="cx">         return exec-&gt;vm().throwException(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     WebGLRenderingContext&amp; context = impl();
</span><del>-    WebGLProgram* program = toWebGLProgram(exec-&gt;uncheckedArgument(0));
</del><ins>+    WebGLProgram* program = JSWebGLProgram::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (!program &amp;&amp; !exec-&gt;uncheckedArgument(0).isUndefinedOrNull())
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx">     Vector&lt;RefPtr&lt;WebGLShader&gt;&gt; shaders;
</span><span class="lines">@@ -341,7 +341,7 @@
</span><span class="cx"> 
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     WebGLRenderingContext&amp; context = impl();
</span><del>-    WebGLProgram* program = toWebGLProgram(exec-&gt;uncheckedArgument(0));
</del><ins>+    WebGLProgram* program = JSWebGLProgram::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (!program &amp;&amp; !exec-&gt;uncheckedArgument(0).isUndefinedOrNull())
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx">     unsigned pname = exec-&gt;uncheckedArgument(1).toInt32(exec);
</span><span class="lines">@@ -369,7 +369,7 @@
</span><span class="cx">     WebGLRenderingContext&amp; context = impl();
</span><span class="cx">     if (!exec-&gt;uncheckedArgument(0).isUndefinedOrNull() &amp;&amp; !exec-&gt;uncheckedArgument(0).inherits(JSWebGLShader::info()))
</span><span class="cx">         return throwTypeError(exec);
</span><del>-    WebGLShader* shader = toWebGLShader(exec-&gt;uncheckedArgument(0));
</del><ins>+    WebGLShader* shader = JSWebGLShader::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     unsigned pname = exec-&gt;uncheckedArgument(1).toInt32(exec);
</span><span class="cx">     if (exec-&gt;hadException())
</span><span class="cx">         return jsUndefined();
</span><span class="lines">@@ -405,10 +405,10 @@
</span><span class="cx"> 
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     WebGLRenderingContext&amp; context = impl();
</span><del>-    WebGLProgram* program = toWebGLProgram(exec-&gt;uncheckedArgument(0));
</del><ins>+    WebGLProgram* program = JSWebGLProgram::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (!program &amp;&amp; !exec-&gt;uncheckedArgument(0).isUndefinedOrNull())
</span><span class="cx">         return throwTypeError(exec);
</span><del>-    WebGLUniformLocation* location = toWebGLUniformLocation(exec-&gt;uncheckedArgument(1));
</del><ins>+    WebGLUniformLocation* location = JSWebGLUniformLocation::toWrapped(exec-&gt;uncheckedArgument(1));
</ins><span class="cx">     if (!location &amp;&amp; !exec-&gt;uncheckedArgument(1).isUndefinedOrNull())
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx">     WebGLGetInfo info = context.getUniform(program, location, ec);
</span><span class="lines">@@ -478,7 +478,7 @@
</span><span class="cx">     long index = -1;
</span><span class="cx">     
</span><span class="cx">     if (functionForUniform(f)) {
</span><del>-        location = toWebGLUniformLocation(exec-&gt;uncheckedArgument(0));
</del><ins>+        location = JSWebGLUniformLocation::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">         if (!location &amp;&amp; !exec-&gt;uncheckedArgument(0).isUndefinedOrNull())
</span><span class="cx">             return throwTypeError(exec);
</span><span class="cx">     } else
</span><span class="lines">@@ -564,7 +564,7 @@
</span><span class="cx">     if (exec-&gt;argumentCount() != 2)
</span><span class="cx">         return exec-&gt;vm().throwException(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> 
</span><del>-    WebGLUniformLocation* location = toWebGLUniformLocation(exec-&gt;uncheckedArgument(0));
</del><ins>+    WebGLUniformLocation* location = JSWebGLUniformLocation::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (!location &amp;&amp; !exec-&gt;uncheckedArgument(0).isUndefinedOrNull())
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx">   
</span><span class="lines">@@ -624,7 +624,7 @@
</span><span class="cx">     if (exec-&gt;argumentCount() != 3)
</span><span class="cx">         return exec-&gt;vm().throwException(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx"> 
</span><del>-    WebGLUniformLocation* location = toWebGLUniformLocation(exec-&gt;uncheckedArgument(0));
</del><ins>+    WebGLUniformLocation* location = JSWebGLUniformLocation::toWrapped(exec-&gt;uncheckedArgument(0));
</ins><span class="cx">     if (!location &amp;&amp; !exec-&gt;uncheckedArgument(0).isUndefinedOrNull())
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSXMLHttpRequestCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -148,11 +148,11 @@
</span><span class="cx">     if (val.isUndefinedOrNull())
</span><span class="cx">         impl().send(ec);
</span><span class="cx">     else if (val.inherits(JSDocument::info()))
</span><del>-        impl().send(toDocument(val), ec);
</del><ins>+        impl().send(JSDocument::toWrapped(val), ec);
</ins><span class="cx">     else if (val.inherits(JSBlob::info()))
</span><del>-        impl().send(toBlob(val), ec);
</del><ins>+        impl().send(JSBlob::toWrapped(val), ec);
</ins><span class="cx">     else if (val.inherits(JSDOMFormData::info()))
</span><del>-        impl().send(toDOMFormData(val), ec);
</del><ins>+        impl().send(JSDOMFormData::toWrapped(val), ec);
</ins><span class="cx">     else if (val.inherits(JSArrayBuffer::info()))
</span><span class="cx">         impl().send(toArrayBuffer(val), ec);
</span><span class="cx">     else if (val.inherits(JSArrayBufferView::info())) {
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsSerializedScriptValuecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -784,12 +784,12 @@
</span><span class="cx">                 write(obj-&gt;internalValue().asNumber());
</span><span class="cx">                 return true;
</span><span class="cx">             }
</span><del>-            if (File* file = toFile(obj)) {
</del><ins>+            if (File* file = JSFile::toWrapped(obj)) {
</ins><span class="cx">                 write(FileTag);
</span><span class="cx">                 write(file);
</span><span class="cx">                 return true;
</span><span class="cx">             }
</span><del>-            if (FileList* list = toFileList(obj)) {
</del><ins>+            if (FileList* list = JSFileList::toWrapped(obj)) {
</ins><span class="cx">                 write(FileListTag);
</span><span class="cx">                 unsigned length = list-&gt;length();
</span><span class="cx">                 write(length);
</span><span class="lines">@@ -797,7 +797,7 @@
</span><span class="cx">                     write(list-&gt;item(i));
</span><span class="cx">                 return true;
</span><span class="cx">             }
</span><del>-            if (Blob* blob = toBlob(obj)) {
</del><ins>+            if (Blob* blob = JSBlob::toWrapped(obj)) {
</ins><span class="cx">                 write(BlobTag);
</span><span class="cx">                 m_blobURLs.append(blob-&gt;url());
</span><span class="cx">                 write(blob-&gt;url());
</span><span class="lines">@@ -805,7 +805,7 @@
</span><span class="cx">                 write(blob-&gt;size());
</span><span class="cx">                 return true;
</span><span class="cx">             }
</span><del>-            if (ImageData* data = toImageData(obj)) {
</del><ins>+            if (ImageData* data = JSImageData::toWrapped(obj)) {
</ins><span class="cx">                 write(ImageDataTag);
</span><span class="cx">                 write(data-&gt;width());
</span><span class="cx">                 write(data-&gt;height());
</span><span class="lines">@@ -865,7 +865,7 @@
</span><span class="cx">                 return success;
</span><span class="cx">             }
</span><span class="cx"> #if ENABLE(SUBTLE_CRYPTO)
</span><del>-            if (CryptoKey* key = toCryptoKey(obj)) {
</del><ins>+            if (CryptoKey* key = JSCryptoKey::toWrapped(obj)) {
</ins><span class="cx">                 write(CryptoKeyTag);
</span><span class="cx">                 Vector&lt;uint8_t&gt; serializedKey;
</span><span class="cx">                 Vector&lt;String&gt; dummyBlobURLs;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -874,6 +874,17 @@
</span><span class="cx">         push(@headerContent, &quot;    static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);\n&quot;);
</span><span class="cx">     }
</span><span class="cx"> 
</span><ins>+    # JSValue to implementation type
+    if (!$hasParent || $interface-&gt;extendedAttributes-&gt;{&quot;JSGenerateToNativeObject&quot;}) {
+        if ($interfaceName eq &quot;NodeFilter&quot;) {
+            push(@headerContent, &quot;    static PassRefPtr&lt;NodeFilter&gt; toWrapped(JSC::VM&amp;, JSC::JSValue);\n&quot;);
+        } elsif ($interfaceName eq &quot;DOMStringList&quot;) {
+            push(@headerContent, &quot;    static PassRefPtr&lt;DOMStringList&gt; toWrapped(JSC::ExecState*, JSC::JSValue);\n&quot;);
+        } else {
+            push(@headerContent, &quot;    static $implType* toWrapped(JSC::JSValue);\n&quot;);
+        }
+    }
+
</ins><span class="cx">     $headerTrailingIncludes{&quot;${className}Custom.h&quot;} = 1 if $interface-&gt;extendedAttributes-&gt;{&quot;JSCustomHeader&quot;};
</span><span class="cx"> 
</span><span class="cx">     my $namedGetterFunction = GetNamedGetterFunction($interface);
</span><span class="lines">@@ -1166,15 +1177,6 @@
</span><span class="cx">     if (ShouldGenerateToJSDeclaration($hasParent, $interface)) {
</span><span class="cx">         push(@headerContent, &quot;WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n&quot;);
</span><span class="cx">     }
</span><del>-    if (!$hasParent || $interface-&gt;extendedAttributes-&gt;{&quot;JSGenerateToNativeObject&quot;}) {
-        if ($interfaceName eq &quot;NodeFilter&quot;) {
-            push(@headerContent, &quot;PassRefPtr&lt;NodeFilter&gt; toNodeFilter(JSC::VM&amp;, JSC::JSValue);\n&quot;);
-        } elsif ($interfaceName eq &quot;DOMStringList&quot;) {
-            push(@headerContent, &quot;PassRefPtr&lt;DOMStringList&gt; toDOMStringList(JSC::ExecState*, JSC::JSValue);\n&quot;);
-        } else {
-            push(@headerContent, &quot;WEBCORE_EXPORT $implType* to${interfaceName}(JSC::JSValue);\n&quot;);
-        }
-    }
</del><span class="cx">     if ($usesToJSNewlyCreated{$interfaceName}) {
</span><span class="cx">         push(@headerContent, &quot;JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, $interfaceName*);\n&quot;);
</span><span class="cx">     }
</span><span class="lines">@@ -3112,7 +3114,7 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ((!$hasParent or $interface-&gt;extendedAttributes-&gt;{&quot;JSGenerateToNativeObject&quot;}) and !$interface-&gt;extendedAttributes-&gt;{&quot;JSCustomToNativeObject&quot;}) {
</span><del>-        push(@implContent, &quot;$implType* to${interfaceName}(JSC::JSValue value)\n&quot;);
</del><ins>+        push(@implContent, &quot;$implType* ${className}::toWrapped(JSC::JSValue value)\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    if (auto* wrapper = &quot; . GetCastingHelperForThisObject($interface) . &quot;(value))\n&quot;);
</span><span class="cx">         push(@implContent, &quot;        return &amp;wrapper-&gt;impl();\n&quot;);
</span><span class="lines">@@ -3243,7 +3245,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ($argType eq &quot;XPathNSResolver&quot;) {
</span><span class="cx">             push(@$outputArray, &quot;    RefPtr&lt;XPathNSResolver&gt; customResolver;\n&quot;);
</span><del>-            push(@$outputArray, &quot;    XPathNSResolver* resolver = toXPathNSResolver(exec-&gt;argument($argsIndex));\n&quot;);
</del><ins>+            push(@$outputArray, &quot;    XPathNSResolver* resolver = JSXPathNSResolver::toWrapped(exec-&gt;argument($argsIndex));\n&quot;);
</ins><span class="cx">             push(@$outputArray, &quot;    if (!resolver) {\n&quot;);
</span><span class="cx">             push(@$outputArray, &quot;        customResolver = JSCustomXPathNSResolver::create(exec, exec-&gt;argument($argsIndex));\n&quot;);
</span><span class="cx">             push(@$outputArray, &quot;        if (UNLIKELY(exec-&gt;hadException()))\n&quot;);
</span><span class="lines">@@ -3296,7 +3298,7 @@
</span><span class="cx">                 push(@$outputArray, &quot;    for (unsigned i = $argsIndex, count = exec-&gt;argumentCount(); i &lt; count; ++i) {\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;        if (!exec-&gt;uncheckedArgument(i).inherits(JS${argType}::info()))\n&quot;);
</span><span class="cx">                 push(@$outputArray, &quot;            return throwArgumentTypeError(*exec, i, \&quot;$name\&quot;, \&quot;$interfaceName\&quot;, $quotedFunctionName, \&quot;$argType\&quot;);\n&quot;);
</span><del>-                push(@$outputArray, &quot;        $name.append(to$argType(exec-&gt;uncheckedArgument(i)));\n&quot;);
</del><ins>+                push(@$outputArray, &quot;        $name.append(JS${argType}::toWrapped(exec-&gt;uncheckedArgument(i)));\n&quot;);
</ins><span class="cx">                 push(@$outputArray, &quot;    }\n&quot;)
</span><span class="cx">             } else {
</span><span class="cx">                 push(@$outputArray, &quot;    Vector&lt;$nativeElementType&gt; $name = toNativeArguments&lt;$nativeElementType&gt;(exec, $argsIndex);\n&quot;);
</span><span class="lines">@@ -3849,7 +3851,7 @@
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;NodeFilter&quot;) {
</span><span class="cx">         AddToImplIncludes(&quot;JS$type.h&quot;, $conditional);
</span><del>-        return &quot;to$type(exec-&gt;vm(), $value)&quot;;
</del><ins>+        return &quot;JS${type}::toWrapped(exec-&gt;vm(), $value)&quot;;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if ($type eq &quot;SerializedScriptValue&quot;) {
</span><span class="lines">@@ -3881,7 +3883,7 @@
</span><span class="cx">     if ($arrayOrSequenceType) {
</span><span class="cx">         if ($codeGenerator-&gt;IsRefPtrType($arrayOrSequenceType)) {
</span><span class="cx">             AddToImplIncludes(&quot;JS${arrayOrSequenceType}.h&quot;);
</span><del>-            return &quot;(toRefPtrNativeArray&lt;${arrayOrSequenceType}, JS${arrayOrSequenceType}&gt;(exec, $value, &amp;to${arrayOrSequenceType}))&quot;;
</del><ins>+            return &quot;(toRefPtrNativeArray&lt;${arrayOrSequenceType}, JS${arrayOrSequenceType}&gt;(exec, $value, &amp;JS${arrayOrSequenceType}::toWrapped))&quot;;
</ins><span class="cx">         }
</span><span class="cx">         return &quot;toNativeArray&lt;&quot; . GetNativeVectorInnerType($arrayOrSequenceType) . &quot;&gt;(exec, $value)&quot;;
</span><span class="cx">     }
</span><span class="lines">@@ -3892,7 +3894,7 @@
</span><span class="cx"> 
</span><span class="cx">     # Default, assume autogenerated type conversion routines
</span><span class="cx">     AddToImplIncludes(&quot;JS$type.h&quot;, $conditional);
</span><del>-    return &quot;to$type($value)&quot;;
</del><ins>+    return &quot;JS${type}::toWrapped($value)&quot;;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> sub NativeToJSValue
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -214,7 +214,7 @@
</span><span class="cx">     TestActiveDOMObject&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    Node* nextChild(toNode(exec-&gt;argument(0)));
</del><ins>+    Node* nextChild(JSNode::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.excitingFunction(nextChild);
</span><span class="lines">@@ -289,7 +289,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestActiveDOMObject&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestActiveDOMObject* toTestActiveDOMObject(JSC::JSValue value)
</del><ins>+TestActiveDOMObject* JSTestActiveDOMObject::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestActiveDOMObject*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestActiveDOMObject* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestActiveDOMObject();
</span><span class="lines">@@ -93,7 +94,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestActiveDOMObject*);
</span><del>-WEBCORE_EXPORT TestActiveDOMObject* toTestActiveDOMObject(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -263,7 +263,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestCustomNamedGetter&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestCustomNamedGetter* toTestCustomNamedGetter(JSC::JSValue value)
</del><ins>+TestCustomNamedGetter* JSTestCustomNamedGetter::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestCustomNamedGetter*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGetterh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestCustomNamedGetter* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="lines">@@ -97,7 +98,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomNamedGetter*);
</span><del>-WEBCORE_EXPORT TestCustomNamedGetter* toTestCustomNamedGetter(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -292,7 +292,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestEventConstructor&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestEventConstructor* toTestEventConstructor(JSC::JSValue value)
</del><ins>+TestEventConstructor* JSTestEventConstructor::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestEventConstructor*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestEventConstructor* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestEventConstructor();
</span><span class="cx"> 
</span><span class="lines">@@ -93,7 +94,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
</span><del>-WEBCORE_EXPORT TestEventConstructor* toTestEventConstructor(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> bool fillTestEventConstructorInit(TestEventConstructorInit&amp;, JSDictionary&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -294,7 +294,7 @@
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><span class="cx">     ExceptionCode ec = 0;
</span><del>-    Event* evt(toEvent(exec-&gt;argument(0)));
</del><ins>+    Event* evt(JSEvent::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsBoolean(impl.dispatchEvent(evt, ec));
</span><span class="lines">@@ -364,7 +364,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestEventTarget&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestEventTarget* toTestEventTarget(JSC::JSValue value)
</del><ins>+TestEventTarget* JSTestEventTarget::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestEventTarget*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargeth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -39,6 +39,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestEventTarget* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="lines">@@ -101,7 +102,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventTarget*);
</span><del>-WEBCORE_EXPORT TestEventTarget* toTestEventTarget(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -239,7 +239,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestException&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestException* toTestException(JSC::JSValue value)
</del><ins>+TestException* JSTestException::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestException*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -39,6 +39,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestException* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestException();
</span><span class="lines">@@ -94,7 +95,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestException*);
</span><del>-WEBCORE_EXPORT TestException* toTestException(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -211,7 +211,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestGenerateIsReachable&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestGenerateIsReachable* toTestGenerateIsReachable(JSC::JSValue value)
</del><ins>+TestGenerateIsReachable* JSTestGenerateIsReachable::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestGenerateIsReachable*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachableh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestGenerateIsReachable* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestGenerateIsReachable();
</span><span class="cx"> 
</span><span class="lines">@@ -91,7 +92,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestGenerateIsReachable*);
</span><del>-WEBCORE_EXPORT TestGenerateIsReachable* toTestGenerateIsReachable(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -724,7 +724,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestInterface&amp; impl = castedThis-&gt;impl();
</span><del>-    Node* nativeValue(toNode(value));
</del><ins>+    Node* nativeValue(JSNode::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setImplementsNode(nativeValue);
</span><span class="lines">@@ -795,7 +795,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestInterface&amp; impl = castedThis-&gt;impl();
</span><del>-    Node* nativeValue(toNode(value));
</del><ins>+    Node* nativeValue(JSNode::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     TestSupplemental::setSupplementalNode(&amp;impl, nativeValue);
</span><span class="lines">@@ -841,7 +841,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(0).isEmpty() ? String() : exec-&gt;argument(0).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(1)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(1)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.implementsMethod2(scriptContext, strArg, objArg, ec)));
</span><span class="lines">@@ -907,7 +907,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(0).isEmpty() ? String() : exec-&gt;argument(0).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(1)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(1)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(TestSupplemental::supplementalMethod2(&amp;impl, scriptContext, strArg, objArg, ec)));
</span><span class="lines">@@ -973,7 +973,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestInterface&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestInterface* toTestInterface(JSC::JSValue value)
</del><ins>+TestInterface* JSTestInterface::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestInterface*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestInterface* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;);
</span><span class="cx">     static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
</span><span class="lines">@@ -120,7 +121,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
</span><del>-WEBCORE_EXPORT TestInterface* toTestInterface(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -227,7 +227,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestMediaQueryListListener&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestMediaQueryListListener* toTestMediaQueryListListener(JSC::JSValue value)
</del><ins>+TestMediaQueryListListener* JSTestMediaQueryListListener::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestMediaQueryListListener*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestMediaQueryListListener* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestMediaQueryListListener();
</span><span class="cx"> 
</span><span class="lines">@@ -91,7 +92,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
</span><del>-WEBCORE_EXPORT TestMediaQueryListListener* toTestMediaQueryListListener(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -281,7 +281,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestNamedConstructor&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestNamedConstructor* toTestNamedConstructor(JSC::JSValue value)
</del><ins>+TestNamedConstructor* JSTestNamedConstructor::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestNamedConstructor*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestNamedConstructor* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestNamedConstructor();
</span><span class="cx"> 
</span><span class="lines">@@ -92,7 +93,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNamedConstructor*);
</span><del>-WEBCORE_EXPORT TestNamedConstructor* toTestNamedConstructor(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -534,7 +534,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestNondeterministic&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestNondeterministic* toTestNondeterministic(JSC::JSValue value)
</del><ins>+TestNondeterministic* JSTestNondeterministic::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestNondeterministic*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministich"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestNondeterministic* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestNondeterministic();
</span><span class="cx"> 
</span><span class="lines">@@ -91,7 +92,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNondeterministic*);
</span><del>-WEBCORE_EXPORT TestNondeterministic* toTestNondeterministic(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -2078,7 +2078,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setTestObjAttr(nativeValue);
</span><span class="lines">@@ -2098,7 +2098,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setXMLObjAttr(nativeValue);
</span><span class="lines">@@ -2454,7 +2454,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     ScriptExecutionContext* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</span><span class="lines">@@ -2477,7 +2477,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setWithScriptStateAttributeRaises(exec, nativeValue);
</span><span class="lines">@@ -2497,7 +2497,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     ScriptExecutionContext* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</span><span class="lines">@@ -2520,7 +2520,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     ScriptExecutionContext* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</span><span class="lines">@@ -2543,7 +2543,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     ScriptExecutionContext* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</span><span class="lines">@@ -2566,7 +2566,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     ScriptExecutionContext* scriptContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
</span><span class="lines">@@ -2589,7 +2589,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    TestObj* nativeValue(toTestObj(value));
</del><ins>+    TestObj* nativeValue(JSTestObj::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setWithScriptArgumentsAndCallStackAttribute(nativeValue);
</span><span class="lines">@@ -2740,7 +2740,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    SVGPropertyTearOff&lt;SVGPoint&gt;* nativeValue(toSVGPoint(value));
</del><ins>+    SVGPropertyTearOff&lt;SVGPoint&gt;* nativeValue(JSSVGPoint::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setMutablePoint(nativeValue);
</span><span class="lines">@@ -2760,7 +2760,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><del>-    SVGPropertyTearOff&lt;SVGPoint&gt;* nativeValue(toSVGPoint(value));
</del><ins>+    SVGPropertyTearOff&lt;SVGPoint&gt;* nativeValue(JSSVGPoint::toWrapped(value));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return;
</span><span class="cx">     impl.setImmutablePoint(nativeValue);
</span><span class="lines">@@ -2939,7 +2939,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(1).isEmpty() ? String() : exec-&gt;argument(1).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(2)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(2)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.voidMethodWithArgs(longArg, strArg, objArg);
</span><span class="lines">@@ -2974,7 +2974,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(1).isEmpty() ? String() : exec-&gt;argument(1).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(2)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(2)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.byteMethodWithArgs(byteArg, strArg, objArg));
</span><span class="lines">@@ -3009,7 +3009,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(1).isEmpty() ? String() : exec-&gt;argument(1).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(2)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(2)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.octetMethodWithArgs(octetArg, strArg, objArg));
</span><span class="lines">@@ -3044,7 +3044,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(1).isEmpty() ? String() : exec-&gt;argument(1).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(2)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(2)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.longMethodWithArgs(longArg, strArg, objArg));
</span><span class="lines">@@ -3079,7 +3079,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(1).isEmpty() ? String() : exec-&gt;argument(1).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(2)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(2)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.objMethodWithArgs(longArg, strArg, objArg)));
</span><span class="lines">@@ -3096,7 +3096,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    Vector&lt;RefPtr&lt;ScriptProfile&gt;&gt; sequenceArg((toRefPtrNativeArray&lt;ScriptProfile, JSScriptProfile&gt;(exec, exec-&gt;argument(0), &amp;toScriptProfile)));
</del><ins>+    Vector&lt;RefPtr&lt;ScriptProfile&gt;&gt; sequenceArg((toRefPtrNativeArray&lt;ScriptProfile, JSScriptProfile&gt;(exec, exec-&gt;argument(0), &amp;JSScriptProfile::toWrapped)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.methodWithSequenceArg(sequenceArg);
</span><span class="lines">@@ -3153,7 +3153,7 @@
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(0).isEmpty() ? String() : exec-&gt;argument(0).toString(exec)-&gt;value(exec));
</span><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(1)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(1)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = toJS(exec, castedThis-&gt;globalObject(), WTF::getPtr(impl.methodThatRequiresAllArgsAndThrows(strArg, objArg, ec)));
</span><span class="lines">@@ -3669,7 +3669,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 2)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(0)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     const String&amp; strArg(exec-&gt;argument(1).isEmpty() ? String() : exec-&gt;argument(1).toString(exec)-&gt;value(exec));
</span><span class="lines">@@ -3689,7 +3689,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(0)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx"> 
</span><span class="lines">@@ -3801,7 +3801,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(0)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.overloadedMethod(objArg);
</span><span class="lines">@@ -4121,7 +4121,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestNode* value(toTestNode(exec-&gt;argument(0)));
</del><ins>+    TestNode* value(JSTestNode::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert1(value);
</span><span class="lines">@@ -4138,7 +4138,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestNode* value(toTestNode(exec-&gt;argument(0)));
</del><ins>+    TestNode* value(JSTestNode::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert2(value);
</span><span class="lines">@@ -4155,7 +4155,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestNode* value(toTestNode(exec-&gt;argument(0)));
</del><ins>+    TestNode* value(JSTestNode::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert4(value);
</span><span class="lines">@@ -4172,7 +4172,7 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    TestNode* value(toTestNode(exec-&gt;argument(0)));
</del><ins>+    TestNode* value(JSTestNode::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     impl.convert5(value);
</span><span class="lines">@@ -4254,7 +4254,7 @@
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     if (!exec-&gt;argument(0).isUndefinedOrNull() &amp;&amp; !exec-&gt;argument(0).inherits(JSTestObj::info()))
</span><span class="cx">         return throwArgumentTypeError(*exec, 0, &quot;objArg&quot;, &quot;TestObj&quot;, &quot;strictFunctionWithSequence&quot;, &quot;TestObj&quot;);
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(0)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     Vector&lt;unsigned&gt; a(toNativeArray&lt;unsigned&gt;(exec, exec-&gt;argument(1)));
</span><span class="lines">@@ -4279,7 +4279,7 @@
</span><span class="cx">     ExceptionCode ec = 0;
</span><span class="cx">     if (!exec-&gt;argument(0).isUndefinedOrNull() &amp;&amp; !exec-&gt;argument(0).inherits(JSTestObj::info()))
</span><span class="cx">         return throwArgumentTypeError(*exec, 0, &quot;objArg&quot;, &quot;TestObj&quot;, &quot;strictFunctionWithArray&quot;, &quot;TestObj&quot;);
</span><del>-    TestObj* objArg(toTestObj(exec-&gt;argument(0)));
</del><ins>+    TestObj* objArg(JSTestObj::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     Vector&lt;int&gt; array(toNativeArray&lt;int&gt;(exec, exec-&gt;argument(1)));
</span><span class="lines">@@ -4341,14 +4341,14 @@
</span><span class="cx">     TestObj&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    Node* head(toNode(exec-&gt;argument(0)));
</del><ins>+    Node* head(JSNode::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     Vector&lt;Node*&gt; tail;
</span><span class="cx">     for (unsigned i = 1, count = exec-&gt;argumentCount(); i &lt; count; ++i) {
</span><span class="cx">         if (!exec-&gt;uncheckedArgument(i).inherits(JSNode::info()))
</span><span class="cx">             return throwArgumentTypeError(*exec, i, &quot;tail&quot;, &quot;TestObj&quot;, &quot;variadicNodeMethod&quot;, &quot;Node&quot;);
</span><del>-        tail.append(toNode(exec-&gt;uncheckedArgument(i)));
</del><ins>+        tail.append(JSNode::toWrapped(exec-&gt;uncheckedArgument(i)));
</ins><span class="cx">     }
</span><span class="cx">     impl.variadicNodeMethod(head, tail);
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="lines">@@ -4434,7 +4434,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestObj&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestObj* toTestObj(JSC::JSValue value)
</del><ins>+TestObj* JSTestObj::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestObj*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestObj* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestObj();
</span><span class="lines">@@ -106,7 +107,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
</span><del>-WEBCORE_EXPORT TestObj* toTestObj(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -118,7 +118,7 @@
</span><span class="cx">     JSTestOverloadedConstructorsConstructor* castedThis = jsCast&lt;JSTestOverloadedConstructorsConstructor*&gt;(exec-&gt;callee());
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    Blob* blob(toBlob(exec-&gt;argument(0)));
</del><ins>+    Blob* blob(JSBlob::toWrapped(exec-&gt;argument(0)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     RefPtr&lt;TestOverloadedConstructors&gt; object = TestOverloadedConstructors::create(blob);
</span><span class="lines">@@ -283,7 +283,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestOverloadedConstructors&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestOverloadedConstructors* toTestOverloadedConstructors(JSC::JSValue value)
</del><ins>+TestOverloadedConstructors* JSTestOverloadedConstructors::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestOverloadedConstructors*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestOverloadedConstructors* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestOverloadedConstructors();
</span><span class="cx"> 
</span><span class="lines">@@ -91,7 +92,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverloadedConstructors*);
</span><del>-WEBCORE_EXPORT TestOverloadedConstructors* toTestOverloadedConstructors(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -362,7 +362,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestSerializedScriptValueInterface&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestSerializedScriptValueInterface* toTestSerializedScriptValueInterface(JSC::JSValue value)
</del><ins>+TestSerializedScriptValueInterface* JSTestSerializedScriptValueInterface::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestSerializedScriptValueInterface*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,6 +40,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestSerializedScriptValueInterface* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestSerializedScriptValueInterface();
</span><span class="cx"> 
</span><span class="lines">@@ -97,7 +98,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
</span><del>-WEBCORE_EXPORT TestSerializedScriptValueInterface* toTestSerializedScriptValueInterface(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -574,7 +574,7 @@
</span><span class="cx">     TestTypedefs&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    Vector&lt;RefPtr&lt;SerializedScriptValue&gt;&gt; sequenceArg((toRefPtrNativeArray&lt;SerializedScriptValue, JSSerializedScriptValue&gt;(exec, exec-&gt;argument(0), &amp;toSerializedScriptValue)));
</del><ins>+    Vector&lt;RefPtr&lt;SerializedScriptValue&gt;&gt; sequenceArg((toRefPtrNativeArray&lt;SerializedScriptValue, JSSerializedScriptValue&gt;(exec, exec-&gt;argument(0), &amp;JSSerializedScriptValue::toWrapped)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsNumber(impl.methodWithSequenceArg(sequenceArg));
</span><span class="lines">@@ -697,7 +697,7 @@
</span><span class="cx">     TestTypedefs&amp; impl = castedThis-&gt;impl();
</span><span class="cx">     if (exec-&gt;argumentCount() &lt; 1)
</span><span class="cx">         return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span><del>-    Vector&lt;RefPtr&lt;TestEventTarget&gt;&gt; sequenceArg((toRefPtrNativeArray&lt;TestEventTarget, JSTestEventTarget&gt;(exec, exec-&gt;argument(0), &amp;toTestEventTarget)));
</del><ins>+    Vector&lt;RefPtr&lt;TestEventTarget&gt;&gt; sequenceArg((toRefPtrNativeArray&lt;TestEventTarget, JSTestEventTarget&gt;(exec, exec-&gt;argument(0), &amp;JSTestEventTarget::toWrapped)));
</ins><span class="cx">     if (UNLIKELY(exec-&gt;hadException()))
</span><span class="cx">         return JSValue::encode(jsUndefined());
</span><span class="cx">     JSValue result = jsBoolean(impl.callWithSequenceThatRequiresInclude(sequenceArg));
</span><span class="lines">@@ -769,7 +769,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSTestTypedefs&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-TestTypedefs* toTestTypedefs(JSC::JSValue value)
</del><ins>+TestTypedefs* JSTestTypedefs::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSTestTypedefs*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static TestTypedefs* toWrapped(JSC::JSValue);
</ins><span class="cx">     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&amp;);
</span><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSTestTypedefs();
</span><span class="lines">@@ -93,7 +94,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestTypedefs*);
</span><del>-WEBCORE_EXPORT TestTypedefs* toTestTypedefs(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -224,7 +224,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSattribute&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-attribute* toattribute(JSC::JSValue value)
</del><ins>+attribute* JSattribute::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSattribute*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -39,6 +39,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static attribute* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSattribute();
</span><span class="cx"> 
</span><span class="lines">@@ -92,7 +93,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, attribute*);
</span><del>-WEBCORE_EXPORT attribute* toattribute(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -182,7 +182,7 @@
</span><span class="cx">     return createNewWrapper&lt;JSreadonly&gt;(globalObject, impl);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-readonly* toreadonly(JSC::JSValue value)
</del><ins>+readonly* JSreadonly::toWrapped(JSC::JSValue value)
</ins><span class="cx"> {
</span><span class="cx">     if (auto* wrapper = jsDynamicCast&lt;JSreadonly*&gt;(value))
</span><span class="cx">         return &amp;wrapper-&gt;impl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">     static JSC::JSObject* createPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><span class="cx">     static JSC::JSObject* getPrototype(JSC::VM&amp;, JSC::JSGlobalObject*);
</span><ins>+    static readonly* toWrapped(JSC::JSValue);
</ins><span class="cx">     static void destroy(JSC::JSCell*);
</span><span class="cx">     ~JSreadonly();
</span><span class="cx"> 
</span><span class="lines">@@ -91,7 +92,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, readonly*);
</span><del>-WEBCORE_EXPORT readonly* toreadonly(JSC::JSValue);
</del><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/dom/Element.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -689,6 +689,21 @@
</span><span class="cx">     static bool is(ExpectedType&amp;) { return true; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><ins>+// Downcasting functions for Element types.
+template&lt;typename Target, typename Source&gt;
+inline typename std::conditional&lt;std::is_const&lt;Source&gt;::value, const Target&amp;, Target&amp;&gt;::type downcast(Source&amp; source)
+{
+    static_assert(!std::is_base_of&lt;Target, Source&gt;::value, &quot;Unnecessary cast&quot;);
+    ASSERT_WITH_SECURITY_IMPLICATION(isElementOfType&lt;const Target&gt;(source));
+    return static_cast&lt;typename std::conditional&lt;std::is_const&lt;Source&gt;::value, const Target&amp;, Target&amp;&gt;::type&gt;(source);
+}
+template&lt;typename Target, typename Source&gt; inline typename std::conditional&lt;std::is_const&lt;Source&gt;::value, const Target*, Target*&gt;::type downcast(Source* source)
+{
+    static_assert(!std::is_base_of&lt;Target, Source&gt;::value, &quot;Unnecessary cast&quot;);
+    ASSERT_WITH_SECURITY_IMPLICATION(!source || isElementOfType&lt;const Target&gt;(*source));
+    return static_cast&lt;typename std::conditional&lt;std::is_const&lt;Source&gt;::value, const Target*, Target*&gt;::type&gt;(source);
+}
+
</ins><span class="cx"> inline bool Node::hasAttributes() const
</span><span class="cx"> {
</span><span class="cx">     return isElementNode() &amp;&amp; toElement(this)-&gt;hasAttributes();
</span></span></pre></div>
<a id="trunkSourceWebCoredommake_namespl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/make_names.pl (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/make_names.pl        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/dom/make_names.pl        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -633,6 +633,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         my $class = $parsedTags{$name}{interfaceName};
</span><ins>+        # FIXME: Rename these helpers to is&lt;*Element&gt;().
</ins><span class="cx">         my $checkHelper = &quot;is$class&quot;;
</span><span class="cx"> 
</span><span class="cx">         print F &lt;&lt;END
</span><span class="lines">@@ -663,6 +664,10 @@
</span><span class="cx"> struct ElementTypeCastTraits&lt;const $class, ArgType&gt; {
</span><span class="cx">     static bool is(ArgType&amp; node) { return $checkHelper(node); }
</span><span class="cx"> };
</span><ins>+
+// FIXME: Remove these macros once the code has been ported to using
+// downcast&lt;*Element&gt;().
+#define to$class(x) WebCore::downcast&lt;WebCore::$class&gt;(x)
</ins><span class="cx"> END
</span><span class="cx">         ;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAnchorElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAnchorElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAnchorElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -155,8 +155,6 @@
</span><span class="cx"> bool isLinkClick(Event*);
</span><span class="cx"> bool shouldProhibitLinks(Element*);
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLAnchorElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLAnchorElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAreaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAreaElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAreaElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLAreaElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -71,8 +71,6 @@
</span><span class="cx">     Shape m_shape;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLAreaElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAudioElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAudioElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAudioElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLAudioElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -43,8 +43,6 @@
</span><span class="cx">     HTMLAudioElement(const QualifiedName&amp;, Document&amp;, bool);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLAudioElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBaseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBaseElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBaseElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLBaseElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -44,8 +44,6 @@
</span><span class="cx">     virtual void removedFrom(ContainerNode&amp;) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLBaseElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBodyElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBodyElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBodyElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLBodyElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -81,8 +81,6 @@
</span><span class="cx">     virtual void addSubresourceAttributeURLs(ListHashSet&lt;URL&gt;&amp;) const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLBodyElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLCanvasElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLCanvasElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLCanvasElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLCanvasElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -180,8 +180,6 @@
</span><span class="cx">     mutable RefPtr&lt;Image&gt; m_copiedImage; // FIXME: This is temporary for platforms that have to copy the image buffer to render (and for CSSCanvasValue).
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLCanvasElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDataListElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDataListElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDataListElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLDataListElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -50,8 +50,6 @@
</span><span class="cx">     HTMLDataListElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLDataListElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> #endif // ENABLE(DATALIST_ELEMENT)
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDetailsElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDetailsElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDetailsElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLDetailsElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -44,8 +44,6 @@
</span><span class="cx">     bool m_isOpen;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLDetailsElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLDetailsElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLDivElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLDivElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLDivElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLDivElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,8 +40,6 @@
</span><span class="cx">     virtual void collectStyleForPresentationAttribute(const QualifiedName&amp;, const AtomicString&amp;, MutableStyleProperties&amp;) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLDivElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLDivElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLEmbedElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLEmbedElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLEmbedElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLEmbedElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -52,8 +52,6 @@
</span><span class="cx">     void parametersForPlugin(Vector&lt;String&gt;&amp; paramNames, Vector&lt;String&gt;&amp; paramValues);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLEmbedElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFieldSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFieldSetElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -64,8 +64,6 @@
</span><span class="cx">     mutable uint64_t m_documentVersion;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLFieldSetElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLFormElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -201,8 +201,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLFormElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLFormElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLFrameElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -54,8 +54,6 @@
</span><span class="cx">     bool m_frameBorderSet;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLFrameElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLFrameElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameSetElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -100,8 +100,6 @@
</span><span class="cx">     bool m_noresize;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLFrameSetElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLFrameSetElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLHtmlElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLHtmlElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLHtmlElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLHtmlElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -41,8 +41,6 @@
</span><span class="cx">     virtual bool isURLAttribute(const Attribute&amp;) const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLHtmlElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -47,8 +47,6 @@
</span><span class="cx">     virtual RenderPtr&lt;RenderElement&gt; createElementRenderer(PassRef&lt;RenderStyle&gt;) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLIFrameElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLIFrameElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLImageElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLImageElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLImageElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLImageElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -143,8 +143,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLImageElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLInputElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -448,7 +448,5 @@
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLInputElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLabelElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLabelElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLabelElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLLabelElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -55,8 +55,6 @@
</span><span class="cx">     virtual void focus(bool restorePreviousSelection, FocusDirection) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLLabelElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLegendElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLegendElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLegendElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLLegendElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -45,8 +45,6 @@
</span><span class="cx">     virtual HTMLFormElement* virtualForm() const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLLegendElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLLinkElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -137,8 +137,6 @@
</span><span class="cx">     PendingSheetType m_pendingSheetType;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLLinkElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMapElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMapElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMapElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLMapElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -54,8 +54,6 @@
</span><span class="cx">     AtomicString m_name;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLMapElement)
-
</del><span class="cx"> } // namespaces
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMarqueeElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMarqueeElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMarqueeElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLMarqueeElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -64,8 +64,6 @@
</span><span class="cx">     RenderMarquee* renderMarquee() const;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLMarqueeElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLMarqueeElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMetaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMetaElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMetaElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLMetaElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -44,8 +44,6 @@
</span><span class="cx">     void process();
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLMetaElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMeterElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMeterElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMeterElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLMeterElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -81,8 +81,6 @@
</span><span class="cx">     RefPtr&lt;MeterValueElement&gt; m_value;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLMeterElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOListElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOListElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOListElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLOListElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -65,8 +65,6 @@
</span><span class="cx">     bool m_shouldRecalculateItemCount : 1;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLOListElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLObjectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLObjectElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLObjectElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLObjectElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -103,8 +103,6 @@
</span><span class="cx">     bool m_useFallbackContent : 1;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLObjectElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOptGroupElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOptGroupElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOptGroupElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLOptGroupElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -54,8 +54,6 @@
</span><span class="cx">     void recalcSelectOptions();
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLOptGroupElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOptionElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOptionElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOptionElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLOptionElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -87,8 +87,6 @@
</span><span class="cx">     bool m_isSelected;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLOptionElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLParamElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLParamElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLParamElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLParamElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -43,8 +43,6 @@
</span><span class="cx">     virtual void addSubresourceAttributeURLs(ListHashSet&lt;URL&gt;&amp;) const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLParamElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLProgressElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLProgressElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLProgressElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLProgressElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -67,8 +67,6 @@
</span><span class="cx">     ProgressValueElement* m_value;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLProgressElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLScriptElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLScriptElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLScriptElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLScriptElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -67,8 +67,6 @@
</span><span class="cx">     virtual PassRefPtr&lt;Element&gt; cloneElementWithoutAttributesAndChildren() override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLScriptElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSelectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSelectElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSelectElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLSelectElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -212,8 +212,6 @@
</span><span class="cx">     mutable bool m_shouldRecalcListItems;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLSelectElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSourceElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSourceElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSourceElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLSourceElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -57,8 +57,6 @@
</span><span class="cx">     Timer&lt;HTMLSourceElement&gt; m_errorEventTimer;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLSourceElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLStyleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLStyleElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLStyleElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLStyleElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -70,8 +70,6 @@
</span><span class="cx">     bool m_loadedSheet;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLStyleElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLSummaryElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLSummaryElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLSummaryElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLSummaryElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -46,8 +46,6 @@
</span><span class="cx">     bool supportsFocus() const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLSummaryElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif // HTMLSummaryElement_h
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableCaptionElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableCaptionElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableCaptionElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTableCaptionElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -41,8 +41,6 @@
</span><span class="cx">     virtual void collectStyleForPresentationAttribute(const QualifiedName&amp;, const AtomicString&amp;, MutableStyleProperties&amp;) override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTableCaptionElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTableElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -101,8 +101,6 @@
</span><span class="cx">     RefPtr&lt;StyleProperties&gt; m_sharedCellStyle;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTableElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableRowElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableRowElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableRowElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTableRowElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -52,8 +52,6 @@
</span><span class="cx">     HTMLTableRowElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTableRowElement)
-
</del><span class="cx"> } // namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTemplateElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTemplateElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTemplateElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTemplateElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -56,8 +56,6 @@
</span><span class="cx">     mutable RefPtr&lt;TemplateContentDocumentFragment&gt; m_content;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTemplateElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(TEMPLATE_ELEMENT)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTextAreaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTextAreaElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTextAreaElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTextAreaElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -126,8 +126,6 @@
</span><span class="cx">     mutable bool m_wasModifiedByUser;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTextAreaElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTitleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTitleElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTitleElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTitleElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -46,8 +46,6 @@
</span><span class="cx">     StringWithDirection m_title;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTitleElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTrackElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTrackElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTrackElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLTrackElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -94,8 +94,6 @@
</span><span class="cx">     Timer&lt;HTMLTrackElement&gt; m_loadTimer;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLTrackElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/html/HTMLVideoElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -102,8 +102,6 @@
</span><span class="cx">     AtomicString m_defaultPosterURL;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(HTMLVideoElement)
-
</del><span class="cx"> } //namespace
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDOMAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -2010,7 +2010,7 @@
</span><span class="cx">     if (!value.isObject() || value.isNull())
</span><span class="cx">         return nullptr;
</span><span class="cx"> 
</span><del>-    return toNode(value.jsValue());
</del><ins>+    return JSNode::toWrapped(value.jsValue());
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> Deprecated::ScriptValue InspectorDOMAgent::nodeAsScriptValue(JSC::ExecState* state, Node* node)
</span></span></pre></div>
<a id="trunkSourceWebCoremathmlMathMLMencloseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/mathml/MathMLMencloseElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/mathml/MathMLMencloseElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/mathml/MathMLMencloseElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -50,8 +50,6 @@
</span><span class="cx">     bool m_isRadicalValue;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(MathMLMencloseElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(MATHML)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAltGlyphDefElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,8 +38,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGAltGlyphDefElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAltGlyphElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAltGlyphElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAltGlyphElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGAltGlyphElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -55,8 +55,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGAltGlyphElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAltGlyphItemElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,8 +38,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGAltGlyphItemElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAnimateMotionElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAnimateMotionElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAnimateMotionElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGAnimateMotionElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -70,8 +70,6 @@
</span><span class="cx">     Path m_path;
</span><span class="cx">     Path m_animationPath;
</span><span class="cx"> };
</span><del>-
-NODE_TYPE_CASTS(SVGAnimateMotionElement)
</del><span class="cx">     
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGAnimateTransformElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGAnimateTransformElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGAnimateTransformElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGAnimateTransformElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -47,8 +47,6 @@
</span><span class="cx">     SVGTransform::SVGTransformType m_type;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGAnimateTransformElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // SVGAnimateTransformElement_h
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGCircleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGCircleElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGCircleElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGCircleElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -54,8 +54,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGCircleElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // SVGCircleElement_h
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGClipPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGClipPathElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGClipPathElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGClipPathElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -56,8 +56,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGClipPathElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGCursorElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGCursorElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGCursorElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGCursorElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -72,8 +72,6 @@
</span><span class="cx">     HashSet&lt;SVGElement*&gt; m_clients;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGCursorElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGEllipseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGEllipseElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGEllipseElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGEllipseElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -55,8 +55,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGEllipseElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEDistantLightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEDistantLightElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEDistantLightElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEDistantLightElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -34,8 +34,6 @@
</span><span class="cx">     virtual PassRefPtr&lt;LightSource&gt; lightSource() const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEDistantLightElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEFuncAElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEFuncAElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEFuncAElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEFuncAElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx">     SVGFEFuncAElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEFuncAElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEFuncBElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEFuncBElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEFuncBElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEFuncBElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx">     SVGFEFuncBElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEFuncBElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEFuncGElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEFuncGElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEFuncGElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEFuncGElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx">     SVGFEFuncGElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEFuncGElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEFuncRElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEFuncRElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEFuncRElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEFuncRElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx">     SVGFEFuncRElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEFuncRElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEMergeNodeElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEMergeNodeElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEMergeNodeElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEMergeNodeElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -44,8 +44,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEMergeNodeElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFEPointLightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFEPointLightElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFEPointLightElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFEPointLightElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -34,8 +34,6 @@
</span><span class="cx">     virtual PassRefPtr&lt;LightSource&gt; lightSource() const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFEPointLightElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFESpotLightElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFESpotLightElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFESpotLightElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFESpotLightElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -34,8 +34,6 @@
</span><span class="cx">     virtual PassRefPtr&lt;LightSource&gt; lightSource() const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFESpotLightElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFilterElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFilterElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFilterElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFilterElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -75,8 +75,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFilterElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFontElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFontElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFontElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFontElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -102,8 +102,6 @@
</span><span class="cx">     bool m_isGlyphCacheValid;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFontElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFontFaceElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFontFaceElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFontFaceElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFontFaceElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -66,8 +66,6 @@
</span><span class="cx">     SVGFontElement* m_fontElement;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFontFaceElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFontFaceNameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFontFaceNameElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFontFaceNameElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFontFaceNameElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -39,8 +39,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFontFaceNameElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFontFaceSrcElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFontFaceSrcElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,8 +40,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFontFaceSrcElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGFontFaceUriElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGFontFaceUriElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGFontFaceUriElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGFontFaceUriElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -50,8 +50,6 @@
</span><span class="cx">     CachedResourceHandle&lt;CachedFont&gt; m_cachedFont;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGFontFaceUriElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGForeignObjectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGForeignObjectElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGForeignObjectElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGForeignObjectElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -58,8 +58,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGForeignObjectElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGGlyphElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGGlyphElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGGlyphElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGGlyphElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -57,8 +57,6 @@
</span><span class="cx">     void invalidateGlyphCache();
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGGlyphElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGGlyphRefElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGGlyphRefElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGGlyphRefElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGGlyphRefElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -61,8 +61,6 @@
</span><span class="cx">     float m_dy;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGGlyphRefElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGHKernElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGHKernElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGHKernElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGHKernElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -42,8 +42,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGHKernElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGImageElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGImageElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGImageElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGImageElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -72,8 +72,6 @@
</span><span class="cx">     SVGImageLoader m_imageLoader;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGImageElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGLineElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGLineElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGLineElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGLineElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -55,8 +55,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGLineElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGLinearGradientElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGLinearGradientElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGLinearGradientElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGLinearGradientElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -54,8 +54,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGLinearGradientElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMPathElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMPathElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGMPathElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -68,8 +68,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGMPathElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // SVGMPathElement_h
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMarkerElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMarkerElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMarkerElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGMarkerElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -164,8 +164,6 @@
</span><span class="cx">     mutable SVGSynchronizableAnimatedProperty&lt;SVGMarkerOrientType&gt; m_orientType;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGMarkerElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMaskElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMaskElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMaskElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGMaskElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -68,8 +68,6 @@
</span><span class="cx">     virtual void synchronizeSystemLanguage() override { SVGTests::synchronizeSystemLanguage(this); }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGMaskElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGMissingGlyphElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGMissingGlyphElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGMissingGlyphElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGMissingGlyphElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -36,8 +36,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGMissingGlyphElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPathElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPathElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGPathElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -129,8 +129,6 @@
</span><span class="cx">     bool m_isAnimValObserved;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGPathElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPatternElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPatternElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPatternElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGPatternElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -86,8 +86,6 @@
</span><span class="cx">     virtual void synchronizeSystemLanguage() override { SVGTests::synchronizeSystemLanguage(this); }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGPatternElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPolygonElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPolygonElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPolygonElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGPolygonElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx">     SVGPolygonElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGPolygonElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGPolylineElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGPolylineElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGPolylineElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGPolylineElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -33,8 +33,6 @@
</span><span class="cx">     SVGPolylineElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGPolylineElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRadialGradientElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRadialGradientElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRadialGradientElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGRadialGradientElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -56,8 +56,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGRadialGradientElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGRectElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGRectElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGRectElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGRectElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -58,8 +58,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGRectElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGSVGElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGSVGElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGSVGElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGSVGElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -175,8 +175,6 @@
</span><span class="cx">     RefPtr&lt;SVGViewSpec&gt; m_viewSpec;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGSVGElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGScriptElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGScriptElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGScriptElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGScriptElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -86,8 +86,6 @@
</span><span class="cx">     Timer&lt;SVGElement&gt; m_svgLoadEventTimer;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGScriptElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGStopElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGStopElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGStopElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGStopElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -49,8 +49,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGStopElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGStyleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGStyleElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGStyleElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGStyleElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -68,8 +68,6 @@
</span><span class="cx">     Timer&lt;SVGElement&gt; m_svgLoadEventTimer;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGStyleElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // SVGStyleElement_h
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGTextElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -38,8 +38,6 @@
</span><span class="cx">     virtual bool childShouldCreateRenderer(const Node&amp;) const override;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGTextElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTextPathElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTextPathElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTextPathElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGTextPathElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -143,8 +143,6 @@
</span><span class="cx">     END_DECLARE_ANIMATED_PROPERTIES
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGTextPathElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGTitleElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGTitleElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGTitleElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGTitleElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -40,8 +40,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGTitleElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGUseElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGUseElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGUseElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGUseElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -128,8 +128,6 @@
</span><span class="cx">     Timer&lt;SVGElement&gt; m_svgLoadEventTimer;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGUseElement)
-
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGVKernElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGVKernElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGVKernElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGVKernElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -41,8 +41,6 @@
</span><span class="cx">     virtual bool rendererIsNeeded(const RenderStyle&amp;) override { return false; }
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGVKernElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SVG_FONTS)
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGViewElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGViewElement.h (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGViewElement.h        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebCore/svg/SVGViewElement.h        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -65,8 +65,6 @@
</span><span class="cx">     SVGStringList m_viewTarget;
</span><span class="cx"> };
</span><span class="cx"> 
</span><del>-NODE_TYPE_CASTS(SVGViewElement)
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/ChangeLog        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2014-09-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Generate Element casting helper functions
+        https://bugs.webkit.org/show_bug.cgi?id=136839
+
+        Reviewed by Darin Adler.
+
+        Update some of the exported symbols on Windows for functions that were
+        renamed.
+
+        * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
+
</ins><span class="cx"> 2014-09-15  peavo@outlook.com  &lt;peavo@outlook.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [WinCairo] Make it easier to enable/disable GStreamer.
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitExportGeneratorWebKitExportsdefin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -153,7 +153,7 @@
</span><span class="cx">         symbolWithPointer(??0HitTestResult@WebCore@@QAE@ABVLayoutPoint@1@IIII@Z, ??0HitTestResult@WebCore@@QEAA@AEBVLayoutPoint@1@IIII@Z)
</span><span class="cx">         symbolWithPointer(?isReplacementObscured@RenderEmbeddedObject@WebCore@@QBE_NXZ, ?isReplacementObscured@RenderEmbeddedObject@WebCore@@QEBA_NXZ)
</span><span class="cx">         symbolWithPointer(??1Range@WebCore@@QAE@XZ, ??1Range@WebCore@@QEAA@XZ)
</span><del>-        symbolWithPointer(?toNode@WebCore@@YAPAVNode@1@VJSValue@JSC@@@Z, ?toNode@WebCore@@YAPEAVNode@1@VJSValue@JSC@@@Z)
</del><ins>+        symbolWithPointer(?toWrapped@JSNode@WebCore@@SAPAVNode@2@VJSValue@JSC@@@Z, ?toWrapped@JSNode@WebCore@@SAPAVNode@2@VJSValue@JSC@@@Z)
</ins><span class="cx">         symbolWithPointer(??0ClientRect@WebCore@@AAE@ABVFloatRect@1@@Z, ??0ClientRect@WebCore@@AEAA@AEBVFloatRect@1@@Z)
</span><span class="cx">         symbolWithPointer(??0ClientRect@WebCore@@AAE@ABVIntRect@1@@Z, ??0ClientRect@WebCore@@AEAA@AEBVIntRect@1@@Z)
</span><span class="cx">         symbolWithPointer(??0ClientRect@WebCore@@AAE@XZ, ??0ClientRect@WebCore@@AEAA@XZ)
</span><span class="lines">@@ -310,9 +310,8 @@
</span><span class="cx">         symbolWithPointer(?text@Range@WebCore@@QBE?AVString@WTF@@XZ, ?text@Range@WebCore@@QEBA?AVString@WTF@@XZ)
</span><span class="cx">         ?textareaTag@HTMLNames@WebCore@@3VHTMLQualifiedName@2@B
</span><span class="cx">         symbolWithPointer(?textContent@Node@WebCore@@QBE?AVString@WTF@@_N@Z, ?textContent@Node@WebCore@@QEBA?AVString@WTF@@_N@Z)
</span><del>-        symbolWithPointer(?toDocument@WebCore@@YAPAVDocument@1@VJSValue@JSC@@@Z, ?toDocument@WebCore@@YAPEAVDocument@1@VJSValue@JSC@@@Z)
-        symbolWithPointer(?toDOMStringList@WebCore@@YA?AV?$PassRefPtr@VDOMStringList@WebCore@@@WTF@@PAVExecState@JSC@@VJSValue@5@@Z, ?toDOMStringList@WebCore@@YA?AV?$PassRefPtr@VDOMStringList@WebCore@@@WTF@@PEAVExecState@JSC@@VJSValue@5@@Z)
-        symbolWithPointer(?toElement@WebCore@@YAPAVElement@1@VJSValue@JSC@@@Z, ?toElement@WebCore@@YAPEAVElement@1@VJSValue@JSC@@@Z)
</del><ins>+        symbolWithPointer(?toWrapped@JSDocument@WebCore@@SAPAVDocument@2@VJSValue@JSC@@@Z, ?toWrapped@JSDocument@WebCore@@SAPAVDocument@2@VJSValue@JSC@@@Z)
+        symbolWithPointer(?toWrapped@JSElement@WebCore@@SAPAVElement@2@VJSValue@JSC@@@Z, ?toWrapped@JSElement@WebCore@@SAPAVElement@2@VJSValue@JSC@@@Z)
</ins><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVArrayBuffer@3@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVArrayBuffer@3@@Z)
</span><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVCSSStyleDeclaration@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVCSSStyleDeclaration@1@@Z)
</span><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVClientRect@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVClientRect@1@@Z)
</span><span class="lines">@@ -320,7 +319,7 @@
</span><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVNode@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVNode@1@@Z)
</span><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVRange@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVRange@1@@Z)
</span><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVNodeList@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVNodeList@1@@Z)
</span><del>-        symbolWithPointer(?toRange@WebCore@@YAPAVRange@1@VJSValue@JSC@@@Z, ?toRange@WebCore@@YAPEAVRange@1@VJSValue@JSC@@@Z)
</del><ins>+        symbolWithPointer(?toWrapped@JSRange@WebCore@@SAPAVRange@2@VJSValue@JSC@@@Z, ?toWrapped@JSRange@WebCore@@SAPAVRange@2@VJSValue@JSC@@@Z)
</ins><span class="cx">         symbolWithPointer(?isTreeScope@Node@WebCore@@QBE_NXZ, ?isTreeScope@Node@WebCore@@QEBA_NXZ)
</span><span class="cx">         symbolWithPointer(?updateEditorUINowIfScheduled@Editor@WebCore@@QAEXXZ, ?updateEditorUINowIfScheduled@Editor@WebCore@@QEAAXXZ)
</span><span class="cx">         symbolWithPointer(?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QAEXW4RunPostLayoutTasks@12@@Z, ?updateLayoutIgnorePendingStylesheets@Document@WebCore@@QEAAXW4RunPostLayoutTasks@12@@Z)
</span><span class="lines">@@ -449,7 +448,7 @@
</span><span class="cx">         symbolWithPointer(?toUInt32EnforceRange@WebCore@@YAIPAVExecState@JSC@@VJSValue@3@@Z, ?toUInt32EnforceRange@WebCore@@YAIPEAVExecState@JSC@@VJSValue@3@@Z)
</span><span class="cx">         symbolWithPointer(?toUInt64@WebCore@@YA_KPAVExecState@JSC@@VJSValue@3@W4IntegerConversionConfiguration@1@@Z, ?toUInt64@WebCore@@YA_KPEAVExecState@JSC@@VJSValue@3@W4IntegerConversionConfiguration@1@@Z)
</span><span class="cx"> #if ENABLE(VIDEO)
</span><del>-        symbolWithPointer(?toTimeRanges@WebCore@@YAPAVTimeRanges@1@VJSValue@JSC@@@Z, ?toTimeRanges@WebCore@@YAPEAVTimeRanges@1@VJSValue@JSC@@@Z)
</del><ins>+        symbolWithPointer(?toWrapped@JSTimeRanges@WebCore@@SAPAVTimeRanges@2@VJSValue@JSC@@@Z, ?toWrapped@JSTimeRanges@WebCore@@SAPAVTimeRanges@2@VJSValue@JSC@@@Z)
</ins><span class="cx">         symbolWithPointer(?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVTimeRanges@1@@Z, ?toJS@WebCore@@YA?AVJSValue@JSC@@PEAVExecState@3@PEAVJSDOMGlobalObject@1@PEAVTimeRanges@1@@Z)
</span><span class="cx">         symbolWithPointer(?nearest@TimeRanges@WebCore@@QBENN@Z, ?nearest@TimeRanges@WebCore@@QEBANN@Z)
</span><span class="cx">         symbolWithPointer(?add@TimeRanges@WebCore@@QAEXNN@Z, ?add@TimeRanges@WebCore@@QEAAXNN@Z)
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/mac/ChangeLog        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2014-09-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Generate Element casting helper functions
+        https://bugs.webkit.org/show_bug.cgi?id=136839
+
+        Reviewed by Darin Adler.
+
+        Use JSXXX::toWrapped() instead of toXXX() function.
+
+        * DOM/WebDOMOperations.mm:
+        * WebView/WebView.mm:
+        (-[WebView _notificationIDForTesting:]):
+
</ins><span class="cx"> 2014-09-21  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Leak: WebNotificationPrivate ObjC leaks seen on leaks bot
</span></span></pre></div>
<a id="trunkSourceWebKitmacDOMWebDOMOperationsmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/DOM/WebDOMOperations.mm (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/DOM/WebDOMOperations.mm        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/mac/DOM/WebDOMOperations.mm        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -74,7 +74,7 @@
</span><span class="cx"> 
</span><span class="cx">     ExecState* exec = toJS(context);
</span><span class="cx">     JSLockHolder lock(exec);
</span><del>-    return kit(toElement(toJS(exec, value)));
</del><ins>+    return kit(JSElement::toWrapped(toJS(exec, value)));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> @end
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -8618,7 +8618,7 @@
</span><span class="cx"> {
</span><span class="cx"> #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
</span><span class="cx">     JSContextRef context = [[self mainFrame] globalContext];
</span><del>-    WebCore::Notification* notification = toNotification(toJS(toJS(context), jsNotification));
</del><ins>+    WebCore::Notification* notification = JSNotification::toWrapped(toJS(toJS(context), jsNotification));
</ins><span class="cx">     return static_cast&lt;WebNotificationClient*&gt;(NotificationController::clientFrom(_private-&gt;page))-&gt;notificationIDForTesting(notification);
</span><span class="cx"> #else
</span><span class="cx">     return 0;
</span></span></pre></div>
<a id="trunkSourceWebKitwinChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/ChangeLog (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/ChangeLog        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/win/ChangeLog        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2014-09-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Generate Element casting helper functions
+        https://bugs.webkit.org/show_bug.cgi?id=136839
+
+        Reviewed by Darin Adler.
+
+        Use JSXXX::toWrapped() instead of toXXX() function.
+
+        * WebView.cpp:
+        (WebView::elementFromJS):
+
</ins><span class="cx"> 2014-09-06  Brian J. Burg  &lt;burg@cs.washington.edu&gt;
</span><span class="cx"> 
</span><span class="cx">         Web Inspector: convert DockSide to an enum class
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebView.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebView.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit/win/WebView.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -5974,7 +5974,7 @@
</span><span class="cx"> 
</span><span class="cx">     JSC::ExecState* exec = toJS(context);
</span><span class="cx">     JSC::JSLockHolder lock(exec);
</span><del>-    Element* elt = toElement(toJS(exec, nodeObject));
</del><ins>+    Element* elt = JSElement::toWrapped(toJS(exec, nodeObject));
</ins><span class="cx">     if (!elt)
</span><span class="cx">         return E_FAIL;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit2/ChangeLog        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2014-09-21  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Generate Element casting helper functions
+        https://bugs.webkit.org/show_bug.cgi?id=136839
+
+        Reviewed by Darin Adler.
+
+        Use JSXXX::toWrapped() instead of toXXX() function.
+
+        * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
+        (WebKit::InjectedBundleNodeHandle::getOrCreate):
+        * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
+        (WebKit::InjectedBundleRangeHandle::getOrCreate):
+        * WebProcess/InjectedBundle/InjectedBundle.cpp:
+        (WebKit::InjectedBundle::webNotificationID):
+
</ins><span class="cx"> 2014-09-19  Ryosuke Niwa  &lt;rniwa@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         WebContent crash in WebKit::WebPage::expandedRangeFromHandle
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleNodeHandlecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;InjectedBundleNodeHandle&gt; InjectedBundleNodeHandle::getOrCreate(JSContextRef, JSObjectRef object)
</span><span class="cx"> {
</span><del>-    Node* node = toNode(toJS(object));
</del><ins>+    Node* node = JSNode::toWrapped(toJS(object));
</ins><span class="cx">     return getOrCreate(node);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleDOMInjectedBundleRangeHandlecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;InjectedBundleRangeHandle&gt; InjectedBundleRangeHandle::getOrCreate(JSContextRef, JSObjectRef object)
</span><span class="cx"> {
</span><del>-    Range* range = toRange(toJS(object));
</del><ins>+    Range* range = JSRange::toWrapped(toJS(object));
</ins><span class="cx">     return getOrCreate(range);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessInjectedBundleInjectedBundlecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp (173803 => 173804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp        2014-09-22 03:42:30 UTC (rev 173803)
+++ trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp        2014-09-22 03:51:55 UTC (rev 173804)
</span><span class="lines">@@ -597,7 +597,7 @@
</span><span class="cx"> uint64_t InjectedBundle::webNotificationID(JSContextRef jsContext, JSValueRef jsNotification)
</span><span class="cx"> {
</span><span class="cx"> #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
</span><del>-    WebCore::Notification* notification = toNotification(toJS(toJS(jsContext), jsNotification));
</del><ins>+    WebCore::Notification* notification = JSNotification::toWrapped(toJS(toJS(jsContext), jsNotification));
</ins><span class="cx">     if (!notification)
</span><span class="cx">         return 0;
</span><span class="cx">     return WebProcess::shared().supplement&lt;WebNotificationManager&gt;()-&gt;notificationIDForTesting(notification);
</span></span></pre>
</div>
</div>

</body>
</html>