<!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>[209987] 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/209987">209987</a></dd>
<dt>Author</dt> <dd>weinig@apple.com</dd>
<dt>Date</dt> <dd>2016-12-19 09:53:00 -0800 (Mon, 19 Dec 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>[WebIDL] Remove custom binding for the named Image constructor
https://bugs.webkit.org/show_bug.cgi?id=166023

Reviewed by Alex Christensen.

* bindings/js/JSBindingsAllInOne.cpp:
* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:
Remove JSImageConstructor.

* bindings/js/JSImageConstructor.cpp: Removed.
* bindings/js/JSImageConstructor.h: Removed.
        
* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::image): Deleted.
* page/DOMWindow.idl:
Remove custom getter for the constructor.

* html/HTMLImageElement.idl:
Add NamedConstructor annotation.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSBindingsAllInOnecpp">trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMWindowCustomcpp">trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLImageElementidl">trunk/Source/WebCore/html/HTMLImageElement.idl</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowidl">trunk/Source/WebCore/page/DOMWindow.idl</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorebindingsjsJSImageConstructorcpp">trunk/Source/WebCore/bindings/js/JSImageConstructor.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSImageConstructorh">trunk/Source/WebCore/bindings/js/JSImageConstructor.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/CMakeLists.txt        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -1157,7 +1157,6 @@
</span><span class="cx">     bindings/js/JSIDBObjectStoreCustom.cpp
</span><span class="cx">     bindings/js/JSIDBRequestCustom.cpp
</span><span class="cx">     bindings/js/JSIDBTransactionCustom.cpp
</span><del>-    bindings/js/JSImageConstructor.cpp
</del><span class="cx">     bindings/js/JSImageDataCustom.cpp
</span><span class="cx">     bindings/js/JSInspectorFrontendHostCustom.cpp
</span><span class="cx">     bindings/js/JSLazyEventListener.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/ChangeLog        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -1,3 +1,26 @@
</span><ins>+2016-12-19  Sam Weinig  &lt;sam@webkit.org&gt;
+
+        [WebIDL] Remove custom binding for the named Image constructor
+        https://bugs.webkit.org/show_bug.cgi?id=166023
+
+        Reviewed by Alex Christensen.
+
+        * bindings/js/JSBindingsAllInOne.cpp:
+        * CMakeLists.txt:
+        * WebCore.xcodeproj/project.pbxproj:
+        Remove JSImageConstructor.
+
+        * bindings/js/JSImageConstructor.cpp: Removed.
+        * bindings/js/JSImageConstructor.h: Removed.
+        
+        * bindings/js/JSDOMWindowCustom.cpp:
+        (WebCore::JSDOMWindow::image): Deleted.
+        * page/DOMWindow.idl:
+        Remove custom getter for the constructor.
+
+        * html/HTMLImageElement.idl:
+        Add NamedConstructor annotation.
+
</ins><span class="cx"> 2016-12-19  Antti Koivisto  &lt;antti@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove RenderObject::requiresForcedStyleRecalcPropagation
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -5347,8 +5347,6 @@
</span><span class="cx">                 BC64B4DC0CB4298A005F2B62 /* CSSFontSelector.h in Headers */ = {isa = PBXBuildFile; fileRef = BC64B4D40CB4298A005F2B62 /* CSSFontSelector.h */; };
</span><span class="cx">                 BC6932730D7E293900AE44D1 /* JSDOMWindowBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6932710D7E293900AE44D1 /* JSDOMWindowBase.cpp */; };
</span><span class="cx">                 BC6932740D7E293900AE44D1 /* JSDOMWindowBase.h in Headers */ = {isa = PBXBuildFile; fileRef = BC6932720D7E293900AE44D1 /* JSDOMWindowBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                BC6C49F30D7DBA0500FFA558 /* JSImageConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6C49F10D7DBA0500FFA558 /* JSImageConstructor.cpp */; };
-                BC6C49F40D7DBA0500FFA558 /* JSImageConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = BC6C49F20D7DBA0500FFA558 /* JSImageConstructor.h */; };
</del><span class="cx">                 BC6D44BE0C07EFB60072D2C9 /* JSHTMLEmbedElementCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6D44BD0C07EFB60072D2C9 /* JSHTMLEmbedElementCustom.cpp */; };
</span><span class="cx">                 BC6D44EC0C07F2ED0072D2C9 /* JSHTMLEmbedElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6D44EA0C07F2ED0072D2C9 /* JSHTMLEmbedElement.cpp */; };
</span><span class="cx">                 BC6D44ED0C07F2ED0072D2C9 /* JSHTMLEmbedElement.h in Headers */ = {isa = PBXBuildFile; fileRef = BC6D44EB0C07F2ED0072D2C9 /* JSHTMLEmbedElement.h */; };
</span><span class="lines">@@ -13248,8 +13246,6 @@
</span><span class="cx">                 BC64B4D40CB4298A005F2B62 /* CSSFontSelector.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSFontSelector.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC6932710D7E293900AE44D1 /* JSDOMWindowBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMWindowBase.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC6932720D7E293900AE44D1 /* JSDOMWindowBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMWindowBase.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                BC6C49F10D7DBA0500FFA558 /* JSImageConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSImageConstructor.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                BC6C49F20D7DBA0500FFA558 /* JSImageConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSImageConstructor.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 BC6D44BD0C07EFB60072D2C9 /* JSHTMLEmbedElementCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLEmbedElementCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC6D44EA0C07F2ED0072D2C9 /* JSHTMLEmbedElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLEmbedElement.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BC6D44EB0C07F2ED0072D2C9 /* JSHTMLEmbedElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLEmbedElement.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -22510,8 +22506,6 @@
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 CE261694187E6469007955F3 /* ios */,
</span><del>-                                BC6C49F10D7DBA0500FFA558 /* JSImageConstructor.cpp */,
-                                BC6C49F20D7DBA0500FFA558 /* JSImageConstructor.h */,
</del><span class="cx">                         );
</span><span class="cx">                         name = Constructors;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="lines">@@ -26348,7 +26342,6 @@
</span><span class="cx">                                 B6566270120B1227006EA85C /* JSIDBTransaction.h in Headers */,
</span><span class="cx">                                 838EF53C1DC14A7C008F0C39 /* JSIDBTransactionMode.h in Headers */,
</span><span class="cx">                                 269239961505E1AA009E57FC /* JSIDBVersionChangeEvent.h in Headers */,
</span><del>-                                BC6C49F40D7DBA0500FFA558 /* JSImageConstructor.h in Headers */,
</del><span class="cx">                                 A77979290D6B9E64003851B9 /* JSImageData.h in Headers */,
</span><span class="cx">                                 A86629D309DA2B48009633A6 /* JSInputEvent.h in Headers */,
</span><span class="cx">                                 7A0E771F10C00DB100A0276E /* JSInspectorFrontendHost.h in Headers */,
</span><span class="lines">@@ -30129,7 +30122,6 @@
</span><span class="cx">                                 51E269331DD3BC4E006B6A58 /* JSIDBTransactionCustom.cpp in Sources */,
</span><span class="cx">                                 838EF53B1DC14A7C008F0C39 /* JSIDBTransactionMode.cpp in Sources */,
</span><span class="cx">                                 511EF2CB17F0FD3500E4FA16 /* JSIDBVersionChangeEvent.cpp in Sources */,
</span><del>-                                BC6C49F30D7DBA0500FFA558 /* JSImageConstructor.cpp in Sources */,
</del><span class="cx">                                 A77979280D6B9E64003851B9 /* JSImageData.cpp in Sources */,
</span><span class="cx">                                 A7D0318E0E93540300E24ACD /* JSImageDataCustom.cpp in Sources */,
</span><span class="cx">                                 A86629D409DA2B48009633A6 /* JSInputEvent.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSBindingsAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -91,7 +91,6 @@
</span><span class="cx"> #include &quot;JSHTMLSelectElementCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSHTMLTemplateElementCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSHistoryCustom.cpp&quot;
</span><del>-#include &quot;JSImageConstructor.cpp&quot;
</del><span class="cx"> #include &quot;JSImageDataCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSInspectorFrontendHostCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSLazyEventListener.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMWindowCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowCustom.cpp        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include &quot;JSHTMLCollection.h&quot;
</span><span class="cx"> #include &quot;JSHTMLOptionElement.h&quot;
</span><span class="cx"> #include &quot;JSIDBFactory.h&quot;
</span><del>-#include &quot;JSImageConstructor.h&quot;
</del><span class="cx"> #include &quot;JSWorker.h&quot;
</span><span class="cx"> #include &quot;Location.h&quot;
</span><span class="cx"> #include &quot;RuntimeEnabledFeatures.h&quot;
</span><span class="lines">@@ -403,11 +402,6 @@
</span><span class="cx">     return toJS(&amp;state, const_cast&lt;JSDOMWindow*&gt;(this), event);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-JSValue JSDOMWindow::image(ExecState&amp; state) const
-{
-    return createImageConstructor(state.vm(), *this);
-}
-
</del><span class="cx"> // Custom functions
</span><span class="cx"> 
</span><span class="cx"> JSValue JSDOMWindow::open(ExecState&amp; state)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSImageConstructorcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/JSImageConstructor.cpp (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSImageConstructor.cpp        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/bindings/js/JSImageConstructor.cpp        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -1,80 +0,0 @@
</span><del>-/*
- *  Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
- *  Copyright (C) 2004-2008, 2010, 2016 Apple Inc. All rights reserved.
- *
- *  This library is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU Lesser General Public
- *  License as published by the Free Software Foundation; either
- *  version 2 of the License, or (at your option) any later version.
- *
- *  This library is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- *  Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public
- *  License along with this library; if not, write to the Free Software
- *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#include &quot;config.h&quot;
-#include &quot;JSImageConstructor.h&quot;
-
-#include &quot;HTMLNames.h&quot;
-#include &quot;JSDOMConstructor.h&quot;
-#include &quot;JSHTMLImageElement.h&quot;
-#include &quot;JSNode.h&quot;
-#include &lt;runtime/Error.h&gt;
-
-using namespace JSC;
-
-namespace WebCore {
-
-typedef JSDOMNamedConstructor&lt;JSHTMLImageElement&gt; JSImageConstructor;
-
-STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSImageConstructor);
-
-template&lt;&gt; void JSImageConstructor::initializeProperties(VM&amp; vm, JSDOMGlobalObject&amp; globalObject)
-{
-    putDirect(vm, vm.propertyNames-&gt;prototype, JSHTMLImageElement::prototype(vm, &amp;globalObject), None);
-}
-
-template&lt;&gt; JSValue JSImageConstructor::prototypeForStructure(VM&amp; vm, const JSDOMGlobalObject&amp; globalObject)
-{
-    return JSHTMLElement::getConstructor(vm, &amp;globalObject);
-}
-
-template&lt;&gt; EncodedJSValue JSImageConstructor::construct(ExecState* state)
-{
-    VM&amp; vm = state-&gt;vm();
-    auto scope = DECLARE_THROW_SCOPE(vm);
-
-    JSImageConstructor* jsConstructor = jsCast&lt;JSImageConstructor*&gt;(state-&gt;jsCallee());
-    Document* document = jsConstructor-&gt;document();
-    if (!document)
-        return throwVMError(state, scope, createReferenceError(state, &quot;Image constructor associated document is unavailable&quot;));
-
-    // Calling toJS on the document causes the JS document wrapper to be
-    // added to the window object. This is done to ensure that JSDocument::visit
-    // will be called, which will cause the image element to be marked if necessary.
-    toJS(state, jsConstructor-&gt;globalObject(), *document);
-    std::optional&lt;unsigned&gt; width;
-    std::optional&lt;unsigned&gt; height;
-    if (state-&gt;argumentCount() &gt; 0) {
-        width = state-&gt;uncheckedArgument(0).toUInt32(state);
-        if (state-&gt;argumentCount() &gt; 1)
-            height = state-&gt;uncheckedArgument(1).toUInt32(state);
-    }
-
-    return JSValue::encode(asObject(toJS(state, jsConstructor-&gt;globalObject(),
-        HTMLImageElement::createForJSConstructor(*document, width, height))));
-}
-
-template&lt;&gt; const ClassInfo JSImageConstructor::s_info = { &quot;ImageConstructor&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSImageConstructor) };
-
-JSC::JSValue createImageConstructor(JSC::VM&amp; vm, const JSDOMGlobalObject&amp; globalObject)
-{
-    return getDOMConstructor&lt;JSImageConstructor&gt;(vm, globalObject);
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSImageConstructorh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/JSImageConstructor.h (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSImageConstructor.h        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/bindings/js/JSImageConstructor.h        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-/*
- *  Copyright (C) 1999 Harri Porten (porten@kde.org)
- *  Copyright (C) 2004, 2006, 2007, 2008 Apple Inc. All rights reserved.
- *
- *  This library is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU Lesser General Public
- *  License as published by the Free Software Foundation; either
- *  version 2 of the License, or (at your option) any later version.
- *
- *  This library is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- *  Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public
- *  License along with this library; if not, write to the Free Software
- *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- */
-
-#pragma once
-
-namespace JSC {
-class JSValue;
-class VM;
-}
-
-namespace WebCore {
-
-class JSDOMGlobalObject;
-
-JSC::JSValue createImageConstructor(JSC::VM&amp;, const JSDOMGlobalObject&amp;);
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLImageElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLImageElement.idl (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLImageElement.idl        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/html/HTMLImageElement.idl        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -21,6 +21,7 @@
</span><span class="cx"> [
</span><span class="cx">     ExportMacro=WEBCORE_EXPORT,
</span><span class="cx">     JSGenerateToNativeObject,
</span><ins>+    NamedConstructor=Image(optional unsigned long width, optional unsigned long height)
</ins><span class="cx"> ] interface HTMLImageElement : HTMLElement {
</span><span class="cx">     [Reflect] attribute DOMString name;
</span><span class="cx">     [Reflect] attribute DOMString align;
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.idl (209986 => 209987)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.idl        2016-12-19 17:37:11 UTC (rev 209986)
+++ trunk/Source/WebCore/page/DOMWindow.idl        2016-12-19 17:53:00 UTC (rev 209987)
</span><span class="lines">@@ -167,7 +167,6 @@
</span><span class="cx">     void captureEvents(); // Not implemented. Also not in modern standards. Empty function may help compatibility with legacy content.
</span><span class="cx">     void releaseEvents(); // Not implemented. Also not in modern standards. Empty function may help compatibility with legacy content.
</span><span class="cx"> 
</span><del>-    [CustomGetter, CustomConstructor] attribute HTMLImageElementNamedConstructor Image;
</del><span class="cx">     attribute XMLDocumentConstructor SVGDocument;
</span><span class="cx"> 
</span><span class="cx">     attribute DOMURLConstructor webkitURL; // FIXME: Deprecate this.
</span></span></pre>
</div>
</div>

</body>
</html>