<!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>[177744] 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/177744">177744</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2014-12-25 20:23:28 -0800 (Thu, 25 Dec 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>DOM exception creator functions should return Ref.
&lt;https://webkit.org/b/139947&gt;

Reviewed by Chris Dumez.

Tweak all the FooException::create() to return Ref instead of
PassRefPtr since construction always succeeds.

Also add a toJS() overload for ImplType&amp; to keep bindings building.

* Modules/indexeddb/IDBDatabaseException.h:
(WebCore::IDBDatabaseException::create):
* Modules/webdatabase/SQLException.h:
(WebCore::SQLException::create):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
* dom/DOMCoreException.h:
(WebCore::DOMCoreException::create):
* dom/EventException.h:
(WebCore::EventException::create):
* dom/RangeException.h:
(WebCore::RangeException::create):
* fileapi/FileException.h:
(WebCore::FileException::create):
* svg/SVGException.h:
(WebCore::SVGException::create):
* xml/XMLHttpRequestException.h:
(WebCore::XMLHttpRequestException::create):
* xml/XPathException.h:
(WebCore::XPathException::create):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseExceptionh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseSQLExceptionh">trunk/Source/WebCore/Modules/webdatabase/SQLException.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjecth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGetterh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestEventTargeth">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestExceptionh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachableh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestInterfaceh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenerh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministich">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfaceh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestTypedefsh">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSattributeh">trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSreadonlyh">trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h</a></li>
<li><a href="#trunkSourceWebCoredomDOMCoreExceptionh">trunk/Source/WebCore/dom/DOMCoreException.h</a></li>
<li><a href="#trunkSourceWebCoredomEventExceptionh">trunk/Source/WebCore/dom/EventException.h</a></li>
<li><a href="#trunkSourceWebCoredomRangeExceptionh">trunk/Source/WebCore/dom/RangeException.h</a></li>
<li><a href="#trunkSourceWebCorefileapiFileExceptionh">trunk/Source/WebCore/fileapi/FileException.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGExceptionh">trunk/Source/WebCore/svg/SVGException.h</a></li>
<li><a href="#trunkSourceWebCorexmlXMLHttpRequestExceptionh">trunk/Source/WebCore/xml/XMLHttpRequestException.h</a></li>
<li><a href="#trunkSourceWebCorexmlXPathExceptionh">trunk/Source/WebCore/xml/XPathException.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/ChangeLog        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -1,3 +1,36 @@
</span><ins>+2014-12-25  Andreas Kling  &lt;akling@apple.com&gt;
+
+        DOM exception creator functions should return Ref.
+        &lt;https://webkit.org/b/139947&gt;
+
+        Reviewed by Chris Dumez.
+
+        Tweak all the FooException::create() to return Ref instead of
+        PassRefPtr since construction always succeeds.
+
+        Also add a toJS() overload for ImplType&amp; to keep bindings building.
+
+        * Modules/indexeddb/IDBDatabaseException.h:
+        (WebCore::IDBDatabaseException::create):
+        * Modules/webdatabase/SQLException.h:
+        (WebCore::SQLException::create):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateHeader):
+        * dom/DOMCoreException.h:
+        (WebCore::DOMCoreException::create):
+        * dom/EventException.h:
+        (WebCore::EventException::create):
+        * dom/RangeException.h:
+        (WebCore::RangeException::create):
+        * fileapi/FileException.h:
+        (WebCore::FileException::create):
+        * svg/SVGException.h:
+        (WebCore::SVGException::create):
+        * xml/XMLHttpRequestException.h:
+        (WebCore::XMLHttpRequestException::create):
+        * xml/XPathException.h:
+        (WebCore::XPathException::create):
+
</ins><span class="cx"> 2014-12-25  Gyuyoung Kim  &lt;gyuyoung.kim@samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, fix build break on win debug build since r177737.
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabaseException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> 
</span><span class="cx"> class IDBDatabaseException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;IDBDatabaseException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;IDBDatabaseException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new IDBDatabaseException(description));
</del><ins>+        return adoptRef(*new IDBDatabaseException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int IDBDatabaseExceptionOffset = 1200;
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseSQLExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/SQLException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/SQLException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/Modules/webdatabase/SQLException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -39,9 +39,9 @@
</span><span class="cx"> 
</span><span class="cx"> class SQLException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;SQLException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;SQLException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new SQLException(description));
</del><ins>+        return adoptRef(*new SQLException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int SQLExceptionOffset = 1000;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -1171,6 +1171,7 @@
</span><span class="cx">     }
</span><span class="cx">     if (ShouldGenerateToJSDeclaration($hasParent, $interface)) {
</span><span class="cx">         push(@headerContent, &quot;WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, $implType*);\n&quot;);
</span><ins>+        push(@headerContent, &quot;inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, $implType&amp; impl) { return toJS(exec, globalObject, &amp;impl); }\n&quot;);
</ins><span class="cx">     }
</span><span class="cx">     if ($usesToJSNewlyCreated{$interfaceName}) {
</span><span class="cx">         push(@headerContent, &quot;JSC::JSValue toJSNewlyCreated(JSC::ExecState*, JSDOMGlobalObject*, $interfaceName*);\n&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestActiveDOMObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -89,6 +89,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestActiveDOMObject*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestActiveDOMObject&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestCustomNamedGetterh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -93,6 +93,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestCustomNamedGetter*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestCustomNamedGetter&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -89,6 +89,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventConstructor*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestEventConstructor&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> bool fillTestEventConstructorInit(TestEventConstructorInit&amp;, JSDictionary&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestEventTargeth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -97,6 +97,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestEventTarget*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestEventTarget&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -90,6 +90,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestException*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestException&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestGenerateIsReachableh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -87,6 +87,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestGenerateIsReachable*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestGenerateIsReachable&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -116,6 +116,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestInterface*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestInterface&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestMediaQueryListListenerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -87,6 +87,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestMediaQueryListListener*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestMediaQueryListListener&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNamedConstructorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -88,6 +88,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNamedConstructor*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestNamedConstructor&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestNondeterministich"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -87,6 +87,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestNondeterministic*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestNondeterministic&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -102,6 +102,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestObj*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestObj&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestOverloadedConstructorsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -87,6 +87,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestOverloadedConstructors*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestOverloadedConstructors&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestSerializedScriptValueInterfaceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -93,6 +93,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestSerializedScriptValueInterface*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestSerializedScriptValueInterface&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestTypedefsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -89,6 +89,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, TestTypedefs*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, TestTypedefs&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSattributeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -88,6 +88,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, attribute*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, attribute&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSreadonlyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -87,6 +87,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WEBCORE_EXPORT JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, readonly*);
</span><ins>+inline JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, readonly&amp; impl) { return toJS(exec, globalObject, &amp;impl); }
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMCoreExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DOMCoreException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMCoreException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/dom/DOMCoreException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> class DOMCoreException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;DOMCoreException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;DOMCoreException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new DOMCoreException(description));
</del><ins>+        return adoptRef(*new DOMCoreException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static bool initializeDescription(ExceptionCode, ExceptionCodeDescription*);
</span></span></pre></div>
<a id="trunkSourceWebCoredomEventExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EventException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EventException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/dom/EventException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> class EventException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;EventException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;EventException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new EventException(description));
</del><ins>+        return adoptRef(*new EventException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int EventExceptionOffset = 100;
</span></span></pre></div>
<a id="trunkSourceWebCoredomRangeExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/RangeException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/RangeException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/dom/RangeException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -31,9 +31,9 @@
</span><span class="cx"> 
</span><span class="cx"> class RangeException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;RangeException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;RangeException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new RangeException(description));
</del><ins>+        return adoptRef(*new RangeException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int RangeExceptionOffset = 200;
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiFileExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/FileException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/FileException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/fileapi/FileException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -37,9 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> class FileException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;FileException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;FileException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new FileException(description));
</del><ins>+        return adoptRef(*new FileException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int FileExceptionOffset = 1100;
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/svg/SVGException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -27,9 +27,9 @@
</span><span class="cx"> 
</span><span class="cx"> class SVGException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;SVGException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;SVGException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new SVGException(description));
</del><ins>+        return adoptRef(*new SVGException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int SVGExceptionOffset = 300;
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLHttpRequestExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLHttpRequestException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLHttpRequestException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/xml/XMLHttpRequestException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> class XMLHttpRequestException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;XMLHttpRequestException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;XMLHttpRequestException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new XMLHttpRequestException(description));
</del><ins>+        return adoptRef(*new XMLHttpRequestException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int XMLHttpRequestExceptionOffset = 500;
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXPathExceptionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XPathException.h (177743 => 177744)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XPathException.h        2014-12-26 03:51:56 UTC (rev 177743)
+++ trunk/Source/WebCore/xml/XPathException.h        2014-12-26 04:23:28 UTC (rev 177744)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> 
</span><span class="cx"> class XPathException : public ExceptionBase {
</span><span class="cx"> public:
</span><del>-    static PassRefPtr&lt;XPathException&gt; create(const ExceptionCodeDescription&amp; description)
</del><ins>+    static Ref&lt;XPathException&gt; create(const ExceptionCodeDescription&amp; description)
</ins><span class="cx">     {
</span><del>-        return adoptRef(new XPathException(description));
</del><ins>+        return adoptRef(*new XPathException(description));
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     static const int XPathExceptionOffset = 400;
</span></span></pre>
</div>
</div>

</body>
</html>