<!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>[208993] 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/208993">208993</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-11-27 16:10:45 -0800 (Sun, 27 Nov 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove unused DOMRequestState
https://bugs.webkit.org/show_bug.cgi?id=165085

Patch by Sam Weinig &lt;sam@webkit.org&gt; on 2016-11-27
Reviewed by Simon Fraser.

Remove DOMRequestState. It was unused.

* Modules/fetch/FetchBody.cpp:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/DOMRequestState.h: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesfetchFetchBodycpp">trunk/Source/WebCore/Modules/fetch/FetchBody.cpp</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorebindingsjsDOMRequestStateh">trunk/Source/WebCore/bindings/js/DOMRequestState.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (208992 => 208993)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-11-27 21:57:29 UTC (rev 208992)
+++ trunk/Source/WebCore/ChangeLog        2016-11-28 00:10:45 UTC (rev 208993)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-11-27  Sam Weinig  &lt;sam@webkit.org&gt;
+
+        Remove unused DOMRequestState
+        https://bugs.webkit.org/show_bug.cgi?id=165085
+
+        Reviewed by Simon Fraser.
+
+        Remove DOMRequestState. It was unused.
+
+        * Modules/fetch/FetchBody.cpp:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/js/DOMRequestState.h: Removed.
+
</ins><span class="cx"> 2016-11-27  Csaba Osztrogonác  &lt;ossy@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix various --minimal build issues
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesfetchFetchBodycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/fetch/FetchBody.cpp (208992 => 208993)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/fetch/FetchBody.cpp        2016-11-27 21:57:29 UTC (rev 208992)
+++ trunk/Source/WebCore/Modules/fetch/FetchBody.cpp        2016-11-28 00:10:45 UTC (rev 208993)
</span><span class="lines">@@ -31,8 +31,8 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(FETCH_API)
</span><span class="cx"> 
</span><del>-#include &quot;DOMRequestState.h&quot;
</del><span class="cx"> #include &quot;Dictionary.h&quot;
</span><ins>+#include &quot;Document.h&quot;
</ins><span class="cx"> #include &quot;FetchBodyOwner.h&quot;
</span><span class="cx"> #include &quot;FetchHeaders.h&quot;
</span><span class="cx"> #include &quot;FetchResponseSource.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (208992 => 208993)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-11-27 21:57:29 UTC (rev 208992)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-11-28 00:10:45 UTC (rev 208993)
</span><span class="lines">@@ -2204,7 +2204,6 @@
</span><span class="cx">                 5185FCB21BB4C4E80012898F /* IndexedDB.h in Headers */ = {isa = PBXBuildFile; fileRef = 51D719AE181106E00016DC51 /* IndexedDB.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 5185FCB31BB4C4E80012898F /* WorkerGlobalScopeIndexedDatabase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51D719B1181106E00016DC51 /* WorkerGlobalScopeIndexedDatabase.cpp */; };
</span><span class="cx">                 5185FCB41BB4C4E80012898F /* WorkerGlobalScopeIndexedDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 51D719B2181106E00016DC51 /* WorkerGlobalScopeIndexedDatabase.h */; };
</span><del>-                5185FCB71BB4C7670012898F /* DOMRequestState.h in Headers */ = {isa = PBXBuildFile; fileRef = 5185FCB61BB4C7610012898F /* DOMRequestState.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><span class="cx">                 5185FCB91BB4CBF80012898F /* IDBConnectionToClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 510A58FE1BB07AA500C19282 /* IDBConnectionToClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 5185FCBA1BB4CBF80012898F /* IDBServer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 510A58EF1BAB720F00C19282 /* IDBServer.cpp */; };
</span><span class="cx">                 5185FCBB1BB4CBF80012898F /* IDBServer.h in Headers */ = {isa = PBXBuildFile; fileRef = 510A58F01BAB720F00C19282 /* IDBServer.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -9399,7 +9398,6 @@
</span><span class="cx">                 517B25A81CC820320061C011 /* IDBConnectionProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBConnectionProxy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 517FBA17151AA71B00B57959 /* DOMWindowExtension.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMWindowExtension.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 517FBA18151AA71B00B57959 /* DOMWindowExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMWindowExtension.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                5185FCB61BB4C7610012898F /* DOMRequestState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMRequestState.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 5185FCBC1BB5CB770012898F /* IDBConnectionToServer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IDBConnectionToServer.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5185FCBD1BB5CB770012898F /* IDBConnectionToServerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDBConnectionToServerDelegate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 518864DE1BBAF30F00E540C9 /* UniqueIDBDatabase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UniqueIDBDatabase.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -9739,10 +9737,10 @@
</span><span class="cx">                 5CE5D9A31DB897C300CE7A8D /* TextEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextEncoder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5CE5D9A41DB897C300CE7A8D /* TextEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextEncoder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5CE5D9A51DB897C300CE7A8D /* TextEncoder.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TextEncoder.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                5CE5D9A71DB899FC00CE7A8D /* JSTextDecoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSTextDecoder.cpp; path = JSTextDecoder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                5CE5D9A81DB899FC00CE7A8D /* JSTextDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSTextDecoder.h; path = JSTextDecoder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                5CE5D9A91DB899FC00CE7A8D /* JSTextEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSTextEncoder.cpp; path = JSTextEncoder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                5CE5D9AA1DB899FC00CE7A8D /* JSTextEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSTextEncoder.h; path = JSTextEncoder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><ins>+                5CE5D9A71DB899FC00CE7A8D /* JSTextDecoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTextDecoder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                5CE5D9A81DB899FC00CE7A8D /* JSTextDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTextDecoder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                5CE5D9A91DB899FC00CE7A8D /* JSTextEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTextEncoder.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                5CE5D9AA1DB899FC00CE7A8D /* JSTextEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTextEncoder.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 5CFC434E192406A900A0D3B5 /* PointerLockController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PointerLockController.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5CFC434F192406A900A0D3B5 /* PointerLockController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PointerLockController.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5D21A80013ECE5DF00BB7064 /* WebVTTParser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebVTTParser.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -21856,7 +21854,6 @@
</span><span class="cx">                                 312D67B01535691F00563D0D /* Dictionary.cpp */,
</span><span class="cx">                                 316023EF1532C40C00D50FF4 /* Dictionary.h */,
</span><span class="cx">                                 B56576E717DA94E200A56BDC /* DOMConstructorWithDocument.h */,
</span><del>-                                5185FCB61BB4C7610012898F /* DOMRequestState.h */,
</del><span class="cx">                                 BC53DA471143134D000D817E /* DOMWrapperWorld.cpp */,
</span><span class="cx">                                 BC53DA2D1143121E000D817E /* DOMWrapperWorld.h */,
</span><span class="cx">                                 1432E8480C51493F00B1500F /* GCController.cpp */,
</span><span class="lines">@@ -25379,7 +25376,6 @@
</span><span class="cx">                                 0F4710AF1DB56AFC002DCEC3 /* DOMRect.h in Headers */,
</span><span class="cx">                                 0F4710B11DB56AFC002DCEC3 /* DOMRectInit.h in Headers */,
</span><span class="cx">                                 0F4710B31DB56AFC002DCEC3 /* DOMRectReadOnly.h in Headers */,
</span><del>-                                5185FCB71BB4C7670012898F /* DOMRequestState.h in Headers */,
</del><span class="cx">                                 BC5A86850C33676000EEA649 /* DOMSelection.h in Headers */,
</span><span class="cx">                                 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */,
</span><span class="cx">                                 BC64640A11D7F304006455B0 /* DOMStringMap.h in Headers */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsDOMRequestStateh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/DOMRequestState.h (208992 => 208993)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/DOMRequestState.h        2016-11-27 21:57:29 UTC (rev 208992)
+++ trunk/Source/WebCore/bindings/js/DOMRequestState.h        2016-11-28 00:10:45 UTC (rev 208993)
</span><span class="lines">@@ -1,79 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Michael Pruett &lt;michael@68k.org&gt;
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#pragma once
-
-#include &quot;DOMWrapperWorld.h&quot;
-#include &quot;Document.h&quot;
-#include &quot;ScriptState.h&quot;
-#include &quot;WorkerGlobalScope.h&quot;
-
-namespace WebCore {
-
-class ScriptExecutionContext;
-
-class DOMRequestState {
-public:
-    explicit DOMRequestState(ScriptExecutionContext* scriptExecutionContext)
-        : m_scriptExecutionContext(scriptExecutionContext)
-    {
-        if (is&lt;Document&gt;(*m_scriptExecutionContext)) {
-            Document&amp; document = downcast&lt;Document&gt;(*m_scriptExecutionContext);
-            m_exec = execStateFromPage(mainThreadNormalWorld(), document.page());
-        } else {
-            WorkerGlobalScope* workerGlobalScope = static_cast&lt;WorkerGlobalScope*&gt;(m_scriptExecutionContext);
-            m_exec = execStateFromWorkerGlobalScope(workerGlobalScope);
-        }
-    }
-
-    void clear()
-    {
-        m_scriptExecutionContext = nullptr;
-        m_exec = nullptr;
-    }
-
-    class Scope {
-    public:
-        explicit Scope(DOMRequestState&amp; state)
-            : m_locker(state.exec())
-        {
-        }
-    private:
-        JSC::JSLockHolder m_locker;
-    };
-
-    JSC::ExecState* exec()
-    {
-        return m_exec;
-    }
-
-private:
-    ScriptExecutionContext* m_scriptExecutionContext;
-    JSC::ExecState* m_exec;
-};
-
-}
</del></span></pre>
</div>
</div>

</body>
</html>