<!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>[165757] 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/165757">165757</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2014-03-17 14:24:42 -0700 (Mon, 17 Mar 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove unnecessary JSC::Handle null checks in bindings code.
&lt;https://webkit.org/b/130356&gt;

Use Handle::slot() directly instead of going through Handle::get().
This avoids null checking the HandleSlot, which isn't necessary here
anyway, and the code already assumes it'll never be null.

Reviewed by Gavin Barraclough.

* bindings/js/JSCSSRuleListCustom.cpp:
(WebCore::JSCSSRuleListOwner::isReachableFromOpaqueRoots):
* bindings/js/JSCSSValueCustom.cpp:
(WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
(WebCore::JSCSSValueOwner::finalize):
* bindings/js/JSMutationObserverCustom.cpp:
(WebCore::JSMutationObserverOwner::isReachableFromOpaqueRoots):
* bindings/js/JSNodeCustom.cpp:
(WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
* bindings/js/JSNodeListCustom.cpp:
(WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
* bindings/js/JSTextTrackCueCustom.cpp:
(WebCore::JSTextTrackCueOwner::isReachableFromOpaqueRoots):
* bindings/js/WebCoreTypedArrayController.cpp:
(WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
(WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateImplementation):
* bridge/runtime_root.cpp:
(JSC::Bindings::RootObject::finalize):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSCSSRuleListCustomcpp">trunk/Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSCSSValueCustomcpp">trunk/Source/WebCore/bindings/js/JSCSSValueCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSMutationObserverCustomcpp">trunk/Source/WebCore/bindings/js/JSMutationObserverCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSNodeCustomcpp">trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSNodeListCustomcpp">trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSTextTrackCueCustomcpp">trunk/Source/WebCore/bindings/js/JSTextTrackCueCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsWebCoreTypedArrayControllercpp">trunk/Source/WebCore/bindings/js/WebCoreTypedArrayController.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="#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="#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="#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="#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>
<li><a href="#trunkSourceWebCorebridgeruntime_rootcpp">trunk/Source/WebCore/bridge/runtime_root.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/ChangeLog        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -1,3 +1,35 @@
</span><ins>+2014-03-17  Andreas Kling  &lt;akling@apple.com&gt;
+
+        Remove unnecessary JSC::Handle null checks in bindings code.
+        &lt;https://webkit.org/b/130356&gt;
+
+        Use Handle::slot() directly instead of going through Handle::get().
+        This avoids null checking the HandleSlot, which isn't necessary here
+        anyway, and the code already assumes it'll never be null.
+
+        Reviewed by Gavin Barraclough.
+
+        * bindings/js/JSCSSRuleListCustom.cpp:
+        (WebCore::JSCSSRuleListOwner::isReachableFromOpaqueRoots):
+        * bindings/js/JSCSSValueCustom.cpp:
+        (WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
+        (WebCore::JSCSSValueOwner::finalize):
+        * bindings/js/JSMutationObserverCustom.cpp:
+        (WebCore::JSMutationObserverOwner::isReachableFromOpaqueRoots):
+        * bindings/js/JSNodeCustom.cpp:
+        (WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
+        * bindings/js/JSNodeListCustom.cpp:
+        (WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
+        * bindings/js/JSTextTrackCueCustom.cpp:
+        (WebCore::JSTextTrackCueOwner::isReachableFromOpaqueRoots):
+        * bindings/js/WebCoreTypedArrayController.cpp:
+        (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
+        (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateImplementation):
+        * bridge/runtime_root.cpp:
+        (JSC::Bindings::RootObject::finalize):
+
</ins><span class="cx"> 2014-03-17  Krzysztof Czech  &lt;k.czech@samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         AX: Reducing some code by using helper function ariaElementsFromAttribute
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCSSRuleListCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -38,7 +38,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSCSSRuleListOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSCSSRuleList* jsCSSRuleList = jsCast&lt;JSCSSRuleList*&gt;(handle.get().asCell());
</del><ins>+    JSCSSRuleList* jsCSSRuleList = jsCast&lt;JSCSSRuleList*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (!jsCSSRuleList-&gt;hasCustomProperties())
</span><span class="cx">         return false;
</span><span class="cx">     if (CSSStyleSheet* styleSheet = jsCSSRuleList-&gt;impl().styleSheet())
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCSSValueCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSCSSValueCustom.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCSSValueCustom.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/JSCSSValueCustom.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSCSSValueOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSCSSValue* jsCSSValue = jsCast&lt;JSCSSValue*&gt;(handle.get().asCell());
</del><ins>+    JSCSSValue* jsCSSValue = jsCast&lt;JSCSSValue*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (!jsCSSValue-&gt;hasCustomProperties())
</span><span class="cx">         return false;
</span><span class="cx">     DOMWrapperWorld* world = static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSCSSValueOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSCSSValue* jsCSSValue = jsCast&lt;JSCSSValue*&gt;(handle.get().asCell());
</del><ins>+    JSCSSValue* jsCSSValue = jsCast&lt;JSCSSValue*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     world.m_cssValueRoots.remove(&amp;jsCSSValue-&gt;impl());
</span><span class="cx">     uncacheWrapper(world, &amp;jsCSSValue-&gt;impl(), jsCSSValue);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSMutationObserverCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSMutationObserverCustom.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSMutationObserverCustom.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/JSMutationObserverCustom.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -63,7 +63,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSMutationObserverOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    MutationObserver&amp; observer = jsCast&lt;JSMutationObserver*&gt;(handle.get().asCell())-&gt;impl();
</del><ins>+    MutationObserver&amp; observer = jsCast&lt;JSMutationObserver*&gt;(handle.slot()-&gt;asCell())-&gt;impl();
</ins><span class="cx">     auto observedNodes = observer.getObservedNodes();
</span><span class="cx">     for (auto it = observedNodes.begin(), end = observedNodes.end(); it != end; ++it) {
</span><span class="cx">         if (visitor.containsOpaqueRoot(root(*it)))
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSNodeCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/JSNodeCustom.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSNodeOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSNode* jsNode = jsCast&lt;JSNode*&gt;(handle.get().asCell());
</del><ins>+    JSNode* jsNode = jsCast&lt;JSNode*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     return isReachableFromDOM(jsNode, &amp;jsNode-&gt;impl(), visitor);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSNodeListCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/JSNodeListCustom.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSNodeListOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSNodeList* jsNodeList = jsCast&lt;JSNodeList*&gt;(handle.get().asCell());
</del><ins>+    JSNodeList* jsNodeList = jsCast&lt;JSNodeList*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (!jsNodeList-&gt;hasCustomProperties())
</span><span class="cx">         return false;
</span><span class="cx">     if (jsNodeList-&gt;impl().isLiveNodeList())
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSTextTrackCueCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSTextTrackCueCustom.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSTextTrackCueCustom.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/JSTextTrackCueCustom.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSTextTrackCueOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSTextTrackCue* jsTextTrackCue = jsCast&lt;JSTextTrackCue*&gt;(handle.get().asCell());
</del><ins>+    JSTextTrackCue* jsTextTrackCue = jsCast&lt;JSTextTrackCue*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     TextTrackCue&amp; textTrackCue = jsTextTrackCue-&gt;impl();
</span><span class="cx"> 
</span><span class="cx">     // If the cue is firing event listeners, its wrapper is reachable because
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsWebCoreTypedArrayControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/WebCoreTypedArrayController.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/WebCoreTypedArrayController.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/js/WebCoreTypedArrayController.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, JSC::SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    auto&amp; wrapper = *JSC::jsCast&lt;JSC::JSArrayBuffer*&gt;(handle.get().asCell());
</del><ins>+    auto&amp; wrapper = *JSC::jsCast&lt;JSC::JSArrayBuffer*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (!wrapper.hasCustomProperties())
</span><span class="cx">         return false;
</span><span class="cx">     return visitor.containsOpaqueRoot(wrapper.impl());
</span><span class="lines">@@ -57,7 +57,7 @@
</span><span class="cx"> 
</span><span class="cx"> void WebCoreTypedArrayController::JSArrayBufferOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    auto&amp; wrapper = *static_cast&lt;JSC::JSArrayBuffer*&gt;(handle.get().asCell());
</del><ins>+    auto&amp; wrapper = *static_cast&lt;JSC::JSArrayBuffer*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     auto&amp; buffer = *wrapper.impl();
</span><span class="cx">     uncacheWrapper(*static_cast&lt;DOMWrapperWorld*&gt;(context), &amp;buffer, &amp;wrapper);
</span><span class="cx">     buffer.deref();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -2921,14 +2921,14 @@
</span><span class="cx">         # check below the isObservable check.
</span><span class="cx">         my $emittedJSCast = 0;
</span><span class="cx">         if ($codeGenerator-&gt;InheritsExtendedAttribute($interface, &quot;ActiveDOMObject&quot;)) {
</span><del>-            push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.get().asCell());\n&quot;);
</del><ins>+            push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.slot()-&gt;asCell());\n&quot;);
</ins><span class="cx">             $emittedJSCast = 1;
</span><span class="cx">             push(@implContent, &quot;    if (js${interfaceName}-&gt;impl().hasPendingActivity())\n&quot;);
</span><span class="cx">             push(@implContent, &quot;        return true;\n&quot;);
</span><span class="cx">         }
</span><span class="cx">         if ($codeGenerator-&gt;InheritsExtendedAttribute($interface, &quot;EventTarget&quot;)) {
</span><span class="cx">             if (!$emittedJSCast) {
</span><del>-                push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.get().asCell());\n&quot;);
</del><ins>+                push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.slot()-&gt;asCell());\n&quot;);
</ins><span class="cx">                 $emittedJSCast = 1;
</span><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;    if (js${interfaceName}-&gt;impl().isFiringEventListeners())\n&quot;);
</span><span class="lines">@@ -2936,7 +2936,7 @@
</span><span class="cx">         }
</span><span class="cx">         if ($codeGenerator-&gt;InheritsInterface($interface, &quot;Node&quot;)) {
</span><span class="cx">             if (!$emittedJSCast) {
</span><del>-                push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.get().asCell());\n&quot;);
</del><ins>+                push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.slot()-&gt;asCell());\n&quot;);
</ins><span class="cx">                 $emittedJSCast = 1;
</span><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;    if (JSNodeOwner::isReachableFromOpaqueRoots(handle, 0, visitor))\n&quot;);
</span><span class="lines">@@ -2944,7 +2944,7 @@
</span><span class="cx">         }
</span><span class="cx">         if (GetGenerateIsReachable($interface)) {
</span><span class="cx">             if (!$emittedJSCast) {
</span><del>-                push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.get().asCell());\n&quot;);
</del><ins>+                push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.slot()-&gt;asCell());\n&quot;);
</ins><span class="cx">                 $emittedJSCast = 1;
</span><span class="cx">             }
</span><span class="cx">             push(@implContent, &quot;    if (!isObservable(js${interfaceName}))\n&quot;);
</span><span class="lines">@@ -3001,7 +3001,7 @@
</span><span class="cx">          $codeGenerator-&gt;InheritsExtendedAttribute($interface, &quot;ActiveDOMObject&quot;))) {
</span><span class="cx">         push(@implContent, &quot;void JS${interfaceName}Owner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)\n&quot;);
</span><span class="cx">         push(@implContent, &quot;{\n&quot;);
</span><del>-        push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.get().asCell());\n&quot;);
</del><ins>+        push(@implContent, &quot;    JS${interfaceName}* js${interfaceName} = jsCast&lt;JS${interfaceName}*&gt;(handle.slot()-&gt;asCell());\n&quot;);
</ins><span class="cx">         push(@implContent, &quot;    DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    uncacheWrapper(world, &amp;js${interfaceName}-&gt;impl(), js${interfaceName});\n&quot;);
</span><span class="cx">         push(@implContent, &quot;    js${interfaceName}-&gt;releaseImpl();\n&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -233,7 +233,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestActiveDOMObjectOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestActiveDOMObject* jsTestActiveDOMObject = jsCast&lt;JSTestActiveDOMObject*&gt;(handle.get().asCell());
</del><ins>+    JSTestActiveDOMObject* jsTestActiveDOMObject = jsCast&lt;JSTestActiveDOMObject*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestActiveDOMObject-&gt;impl(), jsTestActiveDOMObject);
</span><span class="cx">     jsTestActiveDOMObject-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGettercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -200,7 +200,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestCustomNamedGetterOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast&lt;JSTestCustomNamedGetter*&gt;(handle.get().asCell());
</del><ins>+    JSTestCustomNamedGetter* jsTestCustomNamedGetter = jsCast&lt;JSTestCustomNamedGetter*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestCustomNamedGetter-&gt;impl(), jsTestCustomNamedGetter);
</span><span class="cx">     jsTestCustomNamedGetter-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -245,7 +245,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestEventConstructorOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestEventConstructor* jsTestEventConstructor = jsCast&lt;JSTestEventConstructor*&gt;(handle.get().asCell());
</del><ins>+    JSTestEventConstructor* jsTestEventConstructor = jsCast&lt;JSTestEventConstructor*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestEventConstructor-&gt;impl(), jsTestEventConstructor);
</span><span class="cx">     jsTestEventConstructor-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargetcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -305,7 +305,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSTestEventTargetOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSTestEventTarget* jsTestEventTarget = jsCast&lt;JSTestEventTarget*&gt;(handle.get().asCell());
</del><ins>+    JSTestEventTarget* jsTestEventTarget = jsCast&lt;JSTestEventTarget*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (jsTestEventTarget-&gt;impl().isFiringEventListeners())
</span><span class="cx">         return true;
</span><span class="cx">     UNUSED_PARAM(visitor);
</span><span class="lines">@@ -314,7 +314,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestEventTargetOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestEventTarget* jsTestEventTarget = jsCast&lt;JSTestEventTarget*&gt;(handle.get().asCell());
</del><ins>+    JSTestEventTarget* jsTestEventTarget = jsCast&lt;JSTestEventTarget*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestEventTarget-&gt;impl(), jsTestEventTarget);
</span><span class="cx">     jsTestEventTarget-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -185,7 +185,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestExceptionOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestException* jsTestException = jsCast&lt;JSTestException*&gt;(handle.get().asCell());
</del><ins>+    JSTestException* jsTestException = jsCast&lt;JSTestException*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestException-&gt;impl(), jsTestException);
</span><span class="cx">     jsTestException-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachablecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSTestGenerateIsReachableOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast&lt;JSTestGenerateIsReachable*&gt;(handle.get().asCell());
</del><ins>+    JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast&lt;JSTestGenerateIsReachable*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (!isObservable(jsTestGenerateIsReachable))
</span><span class="cx">         return false;
</span><span class="cx">     TestGenerateIsReachable* root = &amp;jsTestGenerateIsReachable-&gt;impl();
</span><span class="lines">@@ -158,7 +158,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestGenerateIsReachableOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast&lt;JSTestGenerateIsReachable*&gt;(handle.get().asCell());
</del><ins>+    JSTestGenerateIsReachable* jsTestGenerateIsReachable = jsCast&lt;JSTestGenerateIsReachable*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestGenerateIsReachable-&gt;impl(), jsTestGenerateIsReachable);
</span><span class="cx">     jsTestGenerateIsReachable-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -962,7 +962,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> bool JSTestInterfaceOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSTestInterface* jsTestInterface = jsCast&lt;JSTestInterface*&gt;(handle.get().asCell());
</del><ins>+    JSTestInterface* jsTestInterface = jsCast&lt;JSTestInterface*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (jsTestInterface-&gt;impl().hasPendingActivity())
</span><span class="cx">         return true;
</span><span class="cx">     UNUSED_PARAM(visitor);
</span><span class="lines">@@ -971,7 +971,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestInterfaceOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestInterface* jsTestInterface = jsCast&lt;JSTestInterface*&gt;(handle.get().asCell());
</del><ins>+    JSTestInterface* jsTestInterface = jsCast&lt;JSTestInterface*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestInterface-&gt;impl(), jsTestInterface);
</span><span class="cx">     jsTestInterface-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -173,7 +173,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestMediaQueryListListenerOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestMediaQueryListListener* jsTestMediaQueryListListener = jsCast&lt;JSTestMediaQueryListListener*&gt;(handle.get().asCell());
</del><ins>+    JSTestMediaQueryListListener* jsTestMediaQueryListListener = jsCast&lt;JSTestMediaQueryListListener*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestMediaQueryListListener-&gt;impl(), jsTestMediaQueryListListener);
</span><span class="cx">     jsTestMediaQueryListListener-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSTestNamedConstructorOwner::isReachableFromOpaqueRoots(JSC::Handle&lt;JSC::Unknown&gt; handle, void*, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><del>-    JSTestNamedConstructor* jsTestNamedConstructor = jsCast&lt;JSTestNamedConstructor*&gt;(handle.get().asCell());
</del><ins>+    JSTestNamedConstructor* jsTestNamedConstructor = jsCast&lt;JSTestNamedConstructor*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     if (jsTestNamedConstructor-&gt;impl().hasPendingActivity())
</span><span class="cx">         return true;
</span><span class="cx">     UNUSED_PARAM(visitor);
</span><span class="lines">@@ -203,7 +203,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestNamedConstructorOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestNamedConstructor* jsTestNamedConstructor = jsCast&lt;JSTestNamedConstructor*&gt;(handle.get().asCell());
</del><ins>+    JSTestNamedConstructor* jsTestNamedConstructor = jsCast&lt;JSTestNamedConstructor*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestNamedConstructor-&gt;impl(), jsTestNamedConstructor);
</span><span class="cx">     jsTestNamedConstructor-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -4779,7 +4779,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestObjOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestObj* jsTestObj = jsCast&lt;JSTestObj*&gt;(handle.get().asCell());
</del><ins>+    JSTestObj* jsTestObj = jsCast&lt;JSTestObj*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestObj-&gt;impl(), jsTestObj);
</span><span class="cx">     jsTestObj-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -224,7 +224,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestOverloadedConstructorsOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestOverloadedConstructors* jsTestOverloadedConstructors = jsCast&lt;JSTestOverloadedConstructors*&gt;(handle.get().asCell());
</del><ins>+    JSTestOverloadedConstructors* jsTestOverloadedConstructors = jsCast&lt;JSTestOverloadedConstructors*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestOverloadedConstructors-&gt;impl(), jsTestOverloadedConstructors);
</span><span class="cx">     jsTestOverloadedConstructors-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfacecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -323,7 +323,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestSerializedScriptValueInterfaceOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = jsCast&lt;JSTestSerializedScriptValueInterface*&gt;(handle.get().asCell());
</del><ins>+    JSTestSerializedScriptValueInterface* jsTestSerializedScriptValueInterface = jsCast&lt;JSTestSerializedScriptValueInterface*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestSerializedScriptValueInterface-&gt;impl(), jsTestSerializedScriptValueInterface);
</span><span class="cx">     jsTestSerializedScriptValueInterface-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -735,7 +735,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSTestTypedefsOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSTestTypedefs* jsTestTypedefs = jsCast&lt;JSTestTypedefs*&gt;(handle.get().asCell());
</del><ins>+    JSTestTypedefs* jsTestTypedefs = jsCast&lt;JSTestTypedefs*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsTestTypedefs-&gt;impl(), jsTestTypedefs);
</span><span class="cx">     jsTestTypedefs-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -174,7 +174,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSattributeOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSattribute* jsattribute = jsCast&lt;JSattribute*&gt;(handle.get().asCell());
</del><ins>+    JSattribute* jsattribute = jsCast&lt;JSattribute*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsattribute-&gt;impl(), jsattribute);
</span><span class="cx">     jsattribute-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx"> 
</span><span class="cx"> void JSreadonlyOwner::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void* context)
</span><span class="cx"> {
</span><del>-    JSreadonly* jsreadonly = jsCast&lt;JSreadonly*&gt;(handle.get().asCell());
</del><ins>+    JSreadonly* jsreadonly = jsCast&lt;JSreadonly*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx">     DOMWrapperWorld&amp; world = *static_cast&lt;DOMWrapperWorld*&gt;(context);
</span><span class="cx">     uncacheWrapper(world, &amp;jsreadonly-&gt;impl(), jsreadonly);
</span><span class="cx">     jsreadonly-&gt;releaseImpl();
</span></span></pre></div>
<a id="trunkSourceWebCorebridgeruntime_rootcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bridge/runtime_root.cpp (165756 => 165757)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bridge/runtime_root.cpp        2014-03-17 21:11:30 UTC (rev 165756)
+++ trunk/Source/WebCore/bridge/runtime_root.cpp        2014-03-17 21:24:42 UTC (rev 165757)
</span><span class="lines">@@ -200,7 +200,7 @@
</span><span class="cx"> 
</span><span class="cx"> void RootObject::finalize(JSC::Handle&lt;JSC::Unknown&gt; handle, void*)
</span><span class="cx"> {
</span><del>-    RuntimeObject* object = static_cast&lt;RuntimeObject*&gt;(handle.get().asCell());
</del><ins>+    RuntimeObject* object = static_cast&lt;RuntimeObject*&gt;(handle.slot()-&gt;asCell());
</ins><span class="cx"> 
</span><span class="cx">     Ref&lt;RootObject&gt; protect(*this);
</span><span class="cx">     object-&gt;invalidate();
</span></span></pre>
</div>
</div>

</body>
</html>