<!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>[190637] trunk/Source/WebCore</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/190637">190637</a></dd>
<dt>Author</dt> <dd>youenn.fablet@crf.canon.fr</dd>
<dt>Date</dt> <dd>2015-10-06 13:14:08 -0700 (Tue, 06 Oct 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Binding generator XXConstructor::finishCreation should take references as parameters
https://bugs.webkit.org/show_bug.cgi?id=149838

Reviewed by Darin Adler.

Updated the binding generator so that XXConstructor::finishCreation
takes a JSDOMGlobalObject&amp; in lieu of a JSDOMGlobalObject*.

Covered by rebased binding tests.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateConstructorDeclaration):
(GenerateConstructorHelperMethods):
* bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
(WebCore::JSTestActiveDOMObjectConstructor::create):
(WebCore::JSTestActiveDOMObjectConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestCallback.cpp:
(WebCore::JSTestCallbackConstructor::create):
(WebCore::JSTestCallbackConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
(WebCore::JSTestCustomConstructorWithNoInterfaceObjectConstructor::create):
(WebCore::JSTestCustomConstructorWithNoInterfaceObjectConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
(WebCore::JSTestCustomNamedGetterConstructor::create):
(WebCore::JSTestCustomNamedGetterConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestEventConstructor.cpp:
(WebCore::JSTestEventConstructorConstructor::create):
(WebCore::JSTestEventConstructorConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestEventTarget.cpp:
(WebCore::JSTestEventTargetConstructor::create):
(WebCore::JSTestEventTargetConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestException.cpp:
(WebCore::JSTestExceptionConstructor::create):
(WebCore::JSTestExceptionConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
(WebCore::JSTestGenerateIsReachableConstructor::create):
(WebCore::JSTestGenerateIsReachableConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore::JSTestInterfaceConstructor::create):
(WebCore::JSTestInterfaceConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
(WebCore::JSTestJSBuiltinConstructorConstructor::create):
(WebCore::JSTestJSBuiltinConstructorConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
(WebCore::JSTestMediaQueryListListenerConstructor::create):
(WebCore::JSTestMediaQueryListListenerConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
(WebCore::JSTestNamedConstructorConstructor::create):
(WebCore::JSTestNamedConstructorNamedConstructor::create):
(WebCore::JSTestNamedConstructorConstructor::finishCreation):
(WebCore::JSTestNamedConstructorNamedConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestNode.cpp:
(WebCore::JSTestNodeConstructor::create):
(WebCore::JSTestNodeConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestNondeterministic.cpp:
(WebCore::JSTestNondeterministicConstructor::create):
(WebCore::JSTestNondeterministicConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::JSTestObjConstructor::create):
(WebCore::JSTestObjConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
(WebCore::JSTestOverloadedConstructorsConstructor::create):
(WebCore::JSTestOverloadedConstructorsConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
(WebCore::JSTestOverrideBuiltinsConstructor::create):
(WebCore::JSTestOverrideBuiltinsConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::create):
(WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::JSTestTypedefsConstructor::create):
(WebCore::JSTestTypedefsConstructor::finishCreation):
* bindings/scripts/test/JS/JSattribute.cpp:
(WebCore::JSattributeConstructor::create):
(WebCore::JSattributeConstructor::finishCreation):
* bindings/scripts/test/JS/JSreadonly.cpp:
(WebCore::JSreadonlyConstructor::create):
(WebCore::JSreadonlyConstructor::finishCreation):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</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="#trunkSourceWebCorebindingsscriptstestJSJSTestCallbackcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjectcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestJSBuiltinConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributecpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/ChangeLog        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -1,3 +1,84 @@
</span><ins>+2015-10-06  Youenn Fablet  &lt;youenn.fablet@crf.canon.fr&gt;
+
+        Binding generator XXConstructor::finishCreation should take references as parameters
+        https://bugs.webkit.org/show_bug.cgi?id=149838
+
+        Reviewed by Darin Adler.
+
+        Updated the binding generator so that XXConstructor::finishCreation
+        takes a JSDOMGlobalObject&amp; in lieu of a JSDOMGlobalObject*.
+
+        Covered by rebased binding tests.
+
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateConstructorDeclaration):
+        (GenerateConstructorHelperMethods):
+        * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
+        (WebCore::JSTestActiveDOMObjectConstructor::create):
+        (WebCore::JSTestActiveDOMObjectConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestCallback.cpp:
+        (WebCore::JSTestCallbackConstructor::create):
+        (WebCore::JSTestCallbackConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp:
+        (WebCore::JSTestCustomConstructorWithNoInterfaceObjectConstructor::create):
+        (WebCore::JSTestCustomConstructorWithNoInterfaceObjectConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
+        (WebCore::JSTestCustomNamedGetterConstructor::create):
+        (WebCore::JSTestCustomNamedGetterConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
+        (WebCore::JSTestEventConstructorConstructor::create):
+        (WebCore::JSTestEventConstructorConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestEventTarget.cpp:
+        (WebCore::JSTestEventTargetConstructor::create):
+        (WebCore::JSTestEventTargetConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestException.cpp:
+        (WebCore::JSTestExceptionConstructor::create):
+        (WebCore::JSTestExceptionConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
+        (WebCore::JSTestGenerateIsReachableConstructor::create):
+        (WebCore::JSTestGenerateIsReachableConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestInterface.cpp:
+        (WebCore::JSTestInterfaceConstructor::create):
+        (WebCore::JSTestInterfaceConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
+        (WebCore::JSTestJSBuiltinConstructorConstructor::create):
+        (WebCore::JSTestJSBuiltinConstructorConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
+        (WebCore::JSTestMediaQueryListListenerConstructor::create):
+        (WebCore::JSTestMediaQueryListListenerConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
+        (WebCore::JSTestNamedConstructorConstructor::create):
+        (WebCore::JSTestNamedConstructorNamedConstructor::create):
+        (WebCore::JSTestNamedConstructorConstructor::finishCreation):
+        (WebCore::JSTestNamedConstructorNamedConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestNode.cpp:
+        (WebCore::JSTestNodeConstructor::create):
+        (WebCore::JSTestNodeConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestNondeterministic.cpp:
+        (WebCore::JSTestNondeterministicConstructor::create):
+        (WebCore::JSTestNondeterministicConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestObj.cpp:
+        (WebCore::JSTestObjConstructor::create):
+        (WebCore::JSTestObjConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp:
+        (WebCore::JSTestOverloadedConstructorsConstructor::create):
+        (WebCore::JSTestOverloadedConstructorsConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp:
+        (WebCore::JSTestOverrideBuiltinsConstructor::create):
+        (WebCore::JSTestOverrideBuiltinsConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
+        (WebCore::JSTestSerializedScriptValueInterfaceConstructor::create):
+        (WebCore::JSTestSerializedScriptValueInterfaceConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+        (WebCore::JSTestTypedefsConstructor::create):
+        (WebCore::JSTestTypedefsConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSattribute.cpp:
+        (WebCore::JSattributeConstructor::create):
+        (WebCore::JSattributeConstructor::finishCreation):
+        * bindings/scripts/test/JS/JSreadonly.cpp:
+        (WebCore::JSreadonlyConstructor::create):
+        (WebCore::JSreadonlyConstructor::finishCreation):
+
</ins><span class="cx"> 2015-10-06  Jiewen Tan  &lt;jiewen_tan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix crash in ApplyStyleCommand::applyRelativeFontStyleChange()
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -4607,14 +4607,14 @@
</span><span class="cx">     push(@$outputArray, &quot;class ${constructorClassName} : public &quot; . $parentClassName . &quot; {\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;private:\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;    ${constructorClassName}(JSC::Structure*, JSDOMGlobalObject*);\n&quot;);
</span><del>-    push(@$outputArray, &quot;    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);\n\n&quot;);
</del><ins>+    push(@$outputArray, &quot;    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);\n\n&quot;);
</ins><span class="cx"> 
</span><span class="cx">     push(@$outputArray, &quot;public:\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;    typedef &quot; . $parentClassName . &quot; Base;\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;    static $constructorClassName* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;    {\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;        $constructorClassName* ptr = new (NotNull, JSC::allocateCell&lt;$constructorClassName&gt;(vm.heap)) $constructorClassName(structure, globalObject);\n&quot;);
</span><del>-    push(@$outputArray, &quot;        ptr-&gt;finishCreation(vm, globalObject);\n&quot;);
</del><ins>+    push(@$outputArray, &quot;        ptr-&gt;finishCreation(vm, *globalObject);\n&quot;);
</ins><span class="cx">     push(@$outputArray, &quot;        return ptr;\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;    }\n\n&quot;);
</span><span class="cx"> 
</span><span class="lines">@@ -4654,7 +4654,7 @@
</span><span class="cx">     static JS${interfaceName}NamedConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JS${interfaceName}NamedConstructor* constructor = new (NotNull, JSC::allocateCell&lt;JS${interfaceName}NamedConstructor&gt;(vm.heap)) JS${interfaceName}NamedConstructor(structure, globalObject);
</span><del>-        constructor-&gt;finishCreation(vm, globalObject);
</del><ins>+        constructor-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return constructor;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -4669,7 +4669,7 @@
</span><span class="cx">     JS${interfaceName}NamedConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><span class="cx">     static JSC::EncodedJSValue JSC_HOST_CALL constructJS${interfaceName}(JSC::ExecState*);
</span><span class="cx">     static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&amp;);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> END
</span><span class="lines">@@ -4976,11 +4976,11 @@
</span><span class="cx">     push(@$outputArray, &quot;{\n&quot;);
</span><span class="cx">     push(@$outputArray, &quot;}\n\n&quot;);
</span><span class="cx"> 
</span><del>-    push(@$outputArray, &quot;void ${constructorClassName}::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)\n&quot;);
</del><ins>+    push(@$outputArray, &quot;void ${constructorClassName}::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)\n&quot;);
</ins><span class="cx">     push(@$outputArray, &quot;{\n&quot;);
</span><span class="cx"> 
</span><span class="cx">     if ($generatingNamedConstructor) {
</span><del>-        push(@$outputArray, &quot;    Base::finishCreation(globalObject);\n&quot;);
</del><ins>+        push(@$outputArray, &quot;    Base::finishCreation(&amp;globalObject);\n&quot;);
</ins><span class="cx">     } else {
</span><span class="cx">         push(@$outputArray, &quot;    Base::finishCreation(vm);\n&quot;);
</span><span class="cx">     }
</span><span class="lines">@@ -4990,11 +4990,11 @@
</span><span class="cx">     # of whether the interface was declared with the [NoInterfaceObject] extended attribute.
</span><span class="cx">     # https://heycam.github.io/webidl/#interface-prototype-object
</span><span class="cx">     if (IsDOMGlobalObject($interface)) {
</span><del>-        push(@$outputArray, &quot;    putDirect(vm, vm.propertyNames-&gt;prototype, globalObject-&gt;prototype(), DontDelete | ReadOnly | DontEnum);\n&quot;);
</del><ins>+        push(@$outputArray, &quot;    putDirect(vm, vm.propertyNames-&gt;prototype, globalObject.prototype(), DontDelete | ReadOnly | DontEnum);\n&quot;);
</ins><span class="cx">     } elsif ($interface-&gt;isCallback) {
</span><span class="cx">         push(@$outputArray, &quot;    UNUSED_PARAM(globalObject);\n&quot;);
</span><span class="cx">     } else {
</span><del>-       push(@$outputArray, &quot;    putDirect(vm, vm.propertyNames-&gt;prototype, ${className}::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);\n&quot;);
</del><ins>+       push(@$outputArray, &quot;    putDirect(vm, vm.propertyNames-&gt;prototype, ${className}::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);\n&quot;);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     push(@$outputArray, &quot;    putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(\&quot;$visibleInterfaceName\&quot;))), ReadOnly | DontEnum);\n&quot;);
</span><span class="lines">@@ -5009,7 +5009,7 @@
</span><span class="cx"> 
</span><span class="cx">     if ($interface-&gt;extendedAttributes-&gt;{&quot;JSBuiltinConstructor&quot;}) {
</span><span class="cx">         my $initializeFunctionName = GetJSBuiltinFunctionName(${className}, &quot;initialize&quot; . ${interfaceName});
</span><del>-        push(@$outputArray, &quot;    setInitializeFunction(vm, *JSC::JSFunction::createBuiltinFunction(vm, ${initializeFunctionName}(vm), globalObject));\n&quot;);
</del><ins>+        push(@$outputArray, &quot;    setInitializeFunction(vm, *JSC::JSFunction::createBuiltinFunction(vm, ${initializeFunctionName}(vm), &amp;globalObject));\n&quot;);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     push(@$outputArray, &quot;}\n\n&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -69,14 +69,14 @@
</span><span class="cx"> class JSTestActiveDOMObjectConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestActiveDOMObjectConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestActiveDOMObjectConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestActiveDOMObjectConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestActiveDOMObjectConstructor&gt;(vm.heap)) JSTestActiveDOMObjectConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -111,11 +111,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestActiveDOMObjectConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestActiveDOMObjectConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestActiveDOMObject::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestActiveDOMObject::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestActiveDOMObject&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCallbackcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCallback.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -62,14 +62,14 @@
</span><span class="cx"> class JSTestCallbackConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestCallbackConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestCallbackConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestCallbackConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestCallbackConstructor&gt;(vm.heap)) JSTestCallbackConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -99,7 +99,7 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestCallbackConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestCallbackConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomConstructorWithNoInterfaceObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -60,14 +60,14 @@
</span><span class="cx"> class JSTestCustomConstructorWithNoInterfaceObjectConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestCustomConstructorWithNoInterfaceObjectConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestCustomConstructorWithNoInterfaceObjectConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestCustomConstructorWithNoInterfaceObjectConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestCustomConstructorWithNoInterfaceObjectConstructor&gt;(vm.heap)) JSTestCustomConstructorWithNoInterfaceObjectConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -86,11 +86,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestCustomConstructorWithNoInterfaceObjectConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestCustomConstructorWithNoInterfaceObjectConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestCustomConstructorWithNoInterfaceObject::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestCustomConstructorWithNoInterfaceObject::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestCustomConstructorWithNoInterfaceObject&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -67,14 +67,14 @@
</span><span class="cx"> class JSTestCustomNamedGetterConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestCustomNamedGetterConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestCustomNamedGetterConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestCustomNamedGetterConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestCustomNamedGetterConstructor&gt;(vm.heap)) JSTestCustomNamedGetterConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -106,11 +106,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestCustomNamedGetterConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestCustomNamedGetterConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestCustomNamedGetter::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestCustomNamedGetter::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestCustomNamedGetter&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -66,14 +66,14 @@
</span><span class="cx"> class JSTestEventConstructorConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestEventConstructorConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestEventConstructorConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestEventConstructorConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestEventConstructorConstructor&gt;(vm.heap)) JSTestEventConstructorConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -135,11 +135,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestEventConstructorConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestEventConstructorConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestEventConstructor::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestEventConstructor::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestEventConstructor&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(1), ReadOnly | DontEnum);
</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 (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -76,14 +76,14 @@
</span><span class="cx"> class JSTestEventTargetConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestEventTargetConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestEventTargetConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestEventTargetConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestEventTargetConstructor&gt;(vm.heap)) JSTestEventTargetConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -115,11 +115,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestEventTargetConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestEventTargetConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestEventTarget::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestEventTarget::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestEventTarget&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -63,14 +63,14 @@
</span><span class="cx"> class JSTestExceptionConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestExceptionConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestExceptionConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestExceptionConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestExceptionConstructor&gt;(vm.heap)) JSTestExceptionConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -102,11 +102,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestExceptionConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestExceptionConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestException::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestException::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestException&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -60,14 +60,14 @@
</span><span class="cx"> class JSTestGenerateIsReachableConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestGenerateIsReachableConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestGenerateIsReachableConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestGenerateIsReachableConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestGenerateIsReachableConstructor&gt;(vm.heap)) JSTestGenerateIsReachableConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -85,11 +85,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestGenerateIsReachableConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestGenerateIsReachableConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestGenerateIsReachable::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestGenerateIsReachable::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestGenerateIsReachable&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -146,14 +146,14 @@
</span><span class="cx"> class JSTestInterfaceConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestInterfaceConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestInterfaceConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestInterfaceConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestInterfaceConstructor&gt;(vm.heap)) JSTestInterfaceConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -294,11 +294,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestInterfaceConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestInterfaceConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestInterface::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestInterface::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestInterface&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(1), ReadOnly | DontEnum);
</span><span class="cx">     reifyStaticProperties(vm, JSTestInterfaceConstructorTableValues, *this);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestJSBuiltinConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -61,14 +61,14 @@
</span><span class="cx"> class JSTestJSBuiltinConstructorConstructor : public DOMConstructorJSBuiltinObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestJSBuiltinConstructorConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorJSBuiltinObject Base;
</span><span class="cx">     static JSTestJSBuiltinConstructorConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestJSBuiltinConstructorConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestJSBuiltinConstructorConstructor&gt;(vm.heap)) JSTestJSBuiltinConstructorConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -95,14 +95,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestJSBuiltinConstructorConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestJSBuiltinConstructorConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestJSBuiltinConstructor::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestJSBuiltinConstructor::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestJSBuiltinConstructor&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><del>-    setInitializeFunction(vm, *JSC::JSFunction::createBuiltinFunction(vm, testJSBuiltinConstructorInitializeTestJSBuiltinConstructorCodeGenerator(vm), globalObject));
</del><ins>+    setInitializeFunction(vm, *JSC::JSFunction::createBuiltinFunction(vm, testJSBuiltinConstructorInitializeTestJSBuiltinConstructorCodeGenerator(vm), &amp;globalObject));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> ConstructType JSTestJSBuiltinConstructorConstructor::getConstructData(JSCell*, ConstructData&amp; constructData)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -67,14 +67,14 @@
</span><span class="cx"> class JSTestMediaQueryListListenerConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestMediaQueryListListenerConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestMediaQueryListListenerConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestMediaQueryListListenerConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestMediaQueryListListenerConstructor&gt;(vm.heap)) JSTestMediaQueryListListenerConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -92,11 +92,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestMediaQueryListListenerConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestMediaQueryListListenerConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestMediaQueryListListener::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestMediaQueryListListener::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestMediaQueryListListener&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -63,14 +63,14 @@
</span><span class="cx"> class JSTestNamedConstructorConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestNamedConstructorConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestNamedConstructorConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestNamedConstructorConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestNamedConstructorConstructor&gt;(vm.heap)) JSTestNamedConstructorConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -88,7 +88,7 @@
</span><span class="cx">     static JSTestNamedConstructorNamedConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestNamedConstructorNamedConstructor* constructor = new (NotNull, JSC::allocateCell&lt;JSTestNamedConstructorNamedConstructor&gt;(vm.heap)) JSTestNamedConstructorNamedConstructor(structure, globalObject);
</span><del>-        constructor-&gt;finishCreation(vm, globalObject);
</del><ins>+        constructor-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return constructor;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -103,7 +103,7 @@
</span><span class="cx">     JSTestNamedConstructorNamedConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><span class="cx">     static JSC::EncodedJSValue JSC_HOST_CALL constructJSTestNamedConstructor(JSC::ExecState*);
</span><span class="cx">     static JSC::ConstructType getConstructData(JSC::JSCell*, JSC::ConstructData&amp;);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestNamedConstructorConstructor::s_info = { &quot;TestNamedConstructorConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestNamedConstructorConstructor) };
</span><span class="lines">@@ -113,11 +113,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestNamedConstructorConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestNamedConstructorConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNamedConstructor::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNamedConstructor::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestNamedConstructor&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span><span class="lines">@@ -152,11 +152,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestNamedConstructorNamedConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestNamedConstructorNamedConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><del>-    Base::finishCreation(globalObject);
</del><ins>+    Base::finishCreation(&amp;globalObject);
</ins><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNamedConstructor::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNamedConstructor::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;Audio&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -66,14 +66,14 @@
</span><span class="cx"> class JSTestNodeConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestNodeConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestNodeConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestNodeConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestNodeConstructor&gt;(vm.heap)) JSTestNodeConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -101,11 +101,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestNodeConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestNodeConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNode::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNode::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestNode&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministiccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -83,14 +83,14 @@
</span><span class="cx"> class JSTestNondeterministicConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestNondeterministicConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestNondeterministicConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestNondeterministicConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestNondeterministicConstructor&gt;(vm.heap)) JSTestNondeterministicConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -108,11 +108,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestNondeterministicConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestNondeterministicConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNondeterministic::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestNondeterministic::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestNondeterministic&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -348,14 +348,14 @@
</span><span class="cx"> class JSTestObjConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestObjConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestObjConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestObjConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestObjConstructor&gt;(vm.heap)) JSTestObjConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -490,11 +490,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestObjConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestObjConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestObj::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestObj::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestObject&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(2), ReadOnly | DontEnum);
</span><span class="cx">     reifyStaticProperties(vm, JSTestObjConstructorTableValues, *this);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -63,14 +63,14 @@
</span><span class="cx"> class JSTestOverloadedConstructorsConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestOverloadedConstructorsConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestOverloadedConstructorsConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestOverloadedConstructorsConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestOverloadedConstructorsConstructor&gt;(vm.heap)) JSTestOverloadedConstructorsConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -173,11 +173,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestOverloadedConstructorsConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestOverloadedConstructorsConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestOverloadedConstructors::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestOverloadedConstructors::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestOverloadedConstructors&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverrideBuiltinscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -69,14 +69,14 @@
</span><span class="cx"> class JSTestOverrideBuiltinsConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestOverrideBuiltinsConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestOverrideBuiltinsConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestOverrideBuiltinsConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestOverrideBuiltinsConstructor&gt;(vm.heap)) JSTestOverrideBuiltinsConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -108,11 +108,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestOverrideBuiltinsConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestOverrideBuiltinsConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestOverrideBuiltins::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestOverrideBuiltins::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestOverrideBuiltins&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -74,14 +74,14 @@
</span><span class="cx"> class JSTestSerializedScriptValueInterfaceConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestSerializedScriptValueInterfaceConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestSerializedScriptValueInterfaceConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestSerializedScriptValueInterfaceConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestSerializedScriptValueInterfaceConstructor&gt;(vm.heap)) JSTestSerializedScriptValueInterfaceConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -99,11 +99,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestSerializedScriptValueInterfaceConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestSerializedScriptValueInterfaceConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestSerializedScriptValueInterface::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestSerializedScriptValueInterface::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestSerializedScriptValueInterface&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -100,14 +100,14 @@
</span><span class="cx"> class JSTestTypedefsConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSTestTypedefsConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSTestTypedefsConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSTestTypedefsConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSTestTypedefsConstructor&gt;(vm.heap)) JSTestTypedefsConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -164,11 +164,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSTestTypedefsConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSTestTypedefsConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestTypedefs::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSTestTypedefs::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;TestTypedefs&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(2), ReadOnly | DontEnum);
</span><span class="cx">     reifyStaticProperties(vm, JSTestTypedefsConstructorTableValues, *this);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -63,14 +63,14 @@
</span><span class="cx"> class JSattributeConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSattributeConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSattributeConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSattributeConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSattributeConstructor&gt;(vm.heap)) JSattributeConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -88,11 +88,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSattributeConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSattributeConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSattribute::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSattribute::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;attribute&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (190636 => 190637)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2015-10-06 20:08:57 UTC (rev 190636)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2015-10-06 20:14:08 UTC (rev 190637)
</span><span class="lines">@@ -60,14 +60,14 @@
</span><span class="cx"> class JSreadonlyConstructor : public DOMConstructorObject {
</span><span class="cx"> private:
</span><span class="cx">     JSreadonlyConstructor(JSC::Structure*, JSDOMGlobalObject*);
</span><del>-    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject*);
</del><ins>+    void finishCreation(JSC::VM&amp;, JSDOMGlobalObject&amp;);
</ins><span class="cx"> 
</span><span class="cx"> public:
</span><span class="cx">     typedef DOMConstructorObject Base;
</span><span class="cx">     static JSreadonlyConstructor* create(JSC::VM&amp; vm, JSC::Structure* structure, JSDOMGlobalObject* globalObject)
</span><span class="cx">     {
</span><span class="cx">         JSreadonlyConstructor* ptr = new (NotNull, JSC::allocateCell&lt;JSreadonlyConstructor&gt;(vm.heap)) JSreadonlyConstructor(structure, globalObject);
</span><del>-        ptr-&gt;finishCreation(vm, globalObject);
</del><ins>+        ptr-&gt;finishCreation(vm, *globalObject);
</ins><span class="cx">         return ptr;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -85,11 +85,11 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void JSreadonlyConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject* globalObject)
</del><ins>+void JSreadonlyConstructor::finishCreation(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
</ins><span class="cx"> {
</span><span class="cx">     Base::finishCreation(vm);
</span><span class="cx">     ASSERT(inherits(info()));
</span><del>-    putDirect(vm, vm.propertyNames-&gt;prototype, JSreadonly::getPrototype(vm, globalObject), DontDelete | ReadOnly | DontEnum);
</del><ins>+    putDirect(vm, vm.propertyNames-&gt;prototype, JSreadonly::getPrototype(vm, &amp;globalObject), DontDelete | ReadOnly | DontEnum);
</ins><span class="cx">     putDirect(vm, vm.propertyNames-&gt;name, jsNontrivialString(&amp;vm, String(ASCIILiteral(&quot;readonly&quot;))), ReadOnly | DontEnum);
</span><span class="cx">     putDirect(vm, vm.propertyNames-&gt;length, jsNumber(0), ReadOnly | DontEnum);
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>