<!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>[201237] trunk</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/201237">201237</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2016-05-20 19:00:42 -0700 (Fri, 20 May 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove LegacyProfiler
https://bugs.webkit.org/show_bug.cgi?id=153565

Patch by Joseph Pecoraro &lt;pecoraro@apple.com&gt; on 2016-05-20
Reviewed by Saam Barati.

.:

* ManualTests/inspector/profiler-test-call.html: Removed.
* ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html: Removed.

Source/JavaScriptCore:

* inspector/protocol/Timeline.json:
* jsc.cpp:
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::hasLegacyProfiler):
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::supportsLegacyProfiling): Deleted.

Source/WebCore:

JavaScriptCore now provides a sampling profiler and it is enabled
by all ports. Web Inspector switched months ago to using the
sampling profiler and displaying its data. Remove the legacy
profiler, as it is no longer being used by anything other then
console.profile and tests. We will update console.profile's
behavior soon to have new behavior and use the sampling data.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* ForwardingHeaders/profiler/LegacyProfiler.h: Removed.
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSCustomXPathNSResolver.cpp:
* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::supportsLegacyProfiling): Deleted.
(WebCore::JSDOMWindowBase::supportsRichSourceInfo): Deleted.
* bindings/js/JSDOMWindowBase.h:
* bindings/js/JSWorkerGlobalScopeBase.cpp:
(WebCore::JSWorkerGlobalScopeBase::supportsLegacyProfiling): Deleted.
* bindings/js/JSWorkerGlobalScopeBase.h:
* bindings/js/ScriptCachedFrameData.cpp:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::clearWindowShell): Deleted.
* bindings/js/ScriptProfile.h: Removed.
* bindings/js/ScriptProfileNode.h: Removed.
* bindings/scripts/CodeGeneratorJS.pm:
(AddClassForwardIfNeeded): Deleted.
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg): Deleted.
(WebCore::jsTestObjPrototypeFunctionMethodReturningSequence): Deleted.
* bindings/scripts/test/TestObj.idl:
* css/CSSParser.cpp:
* dom/Document.cpp:
* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::stopProfiling):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
(WebCore::InspectorController::legacyProfilerEnabled): Deleted.
(WebCore::InspectorController::setLegacyProfilerEnabled): Deleted.
* inspector/InspectorController.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::stopProfilingImpl):
* inspector/InspectorInstrumentation.h:
* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::startFromConsole):
(WebCore::InspectorTimelineAgent::stopFromConsole):
* inspector/InspectorTimelineAgent.h:
* inspector/PageDebuggerAgent.cpp:
* inspector/PageRuntimeAgent.cpp:
* inspector/ScriptProfile.idl: Removed.
* inspector/ScriptProfileNode.idl: Removed.
* inspector/TimelineRecordFactory.cpp:
(WebCore::buildAggregateCallInfoInspectorObject): Deleted.
(WebCore::buildInspectorObject): Deleted.
(WebCore::buildProfileInspectorObject): Deleted.
(WebCore::TimelineRecordFactory::appendProfile): Deleted.
* inspector/TimelineRecordFactory.h:
* page/DOMWindow.cpp:
* page/Page.cpp:
* page/PageConsoleClient.cpp:
(WebCore::PageConsoleClient::profileEnd):
(WebCore::PageConsoleClient::clearProfiles): Deleted.
* page/PageConsoleClient.h:
* testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState): Deleted.
(WebCore::Internals::consoleProfiles): Deleted.
(WebCore::Internals::setLegacyJavaScriptProfilingEnabled): Deleted.
* testing/Internals.h:
* testing/Internals.idl:

Source/WebKit/win:

* Interfaces/IWebInspector.idl:
* WebCoreStatistics.cpp:
* WebInspector.cpp:
(WebInspector::isJavaScriptProfilingEnabled): Deleted.
(WebInspector::setJavaScriptProfilingEnabled): Deleted.
* WebInspector.h:
* WebView.cpp:

LayoutTests:

* fast/profiler/anonymous-event-handler-expected.txt: Removed.
* fast/profiler/anonymous-event-handler.html: Removed.
* fast/profiler/anonymous-function-called-from-different-contexts-expected.txt: Removed.
* fast/profiler/anonymous-function-called-from-different-contexts.html: Removed.
* fast/profiler/anonymous-function-calls-built-in-functions-expected.txt: Removed.
* fast/profiler/anonymous-function-calls-built-in-functions.html: Removed.
* fast/profiler/anonymous-function-calls-eval-expected.txt: Removed.
* fast/profiler/anonymous-function-calls-eval.html: Removed.
* fast/profiler/anonymous-functions-with-display-names-expected.txt: Removed.
* fast/profiler/anonymous-functions-with-display-names.html: Removed.
* fast/profiler/apply-expected.txt: Removed.
* fast/profiler/apply.html: Removed.
* fast/profiler/built-in-function-calls-anonymous-expected.txt: Removed.
* fast/profiler/built-in-function-calls-anonymous.html: Removed.
* fast/profiler/built-in-function-calls-user-defined-function-expected.txt: Removed.
* fast/profiler/built-in-function-calls-user-defined-function.html: Removed.
* fast/profiler/call-expected.txt: Removed.
* fast/profiler/call-register-leak-expected.txt: Removed.
* fast/profiler/call-register-leak.html: Removed.
* fast/profiler/call.html: Removed.
* fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope-expected.txt: Removed.
* fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html: Removed.
* fast/profiler/compare-multiple-profiles-expected.txt: Removed.
* fast/profiler/compare-multiple-profiles.html: Removed.
* fast/profiler/constructor-expected.txt: Removed.
* fast/profiler/constructor.html: Removed.
* fast/profiler/dead-time-expected.txt: Removed.
* fast/profiler/dead-time.html: Removed.
* fast/profiler/document-dot-write-expected.txt: Removed.
* fast/profiler/document-dot-write.html: Removed.
* fast/profiler/event-handler-expected.txt: Removed.
* fast/profiler/event-handler.html: Removed.
* fast/profiler/execution-context-and-eval-on-same-line-expected.txt: Removed.
* fast/profiler/execution-context-and-eval-on-same-line.html: Removed.
* fast/profiler/inline-event-handler-expected.txt: Removed.
* fast/profiler/inline-event-handler.html: Removed.
* fast/profiler/many-calls-in-the-same-scope-expected.txt: Removed.
* fast/profiler/many-calls-in-the-same-scope.html: Removed.
* fast/profiler/multiple-and-different-scoped-anonymous-function-calls-expected.txt: Removed.
* fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html: Removed.
* fast/profiler/multiple-and-different-scoped-function-calls-expected.txt: Removed.
* fast/profiler/multiple-and-different-scoped-function-calls.html: Removed.
* fast/profiler/multiple-anonymous-functions-called-from-the-same-function-expected.txt: Removed.
* fast/profiler/multiple-anonymous-functions-called-from-the-same-function.html: Removed.
* fast/profiler/multiple-frames-expected.txt: Removed.
* fast/profiler/multiple-frames.html: Removed.
* fast/profiler/named-functions-with-display-names-expected.txt: Removed.
* fast/profiler/named-functions-with-display-names.html: Removed.
* fast/profiler/nested-anonymous-functon-expected.txt: Removed.
* fast/profiler/nested-anonymous-functon.html: Removed.
* fast/profiler/nested-start-and-stop-profiler-expected.txt: Removed.
* fast/profiler/nested-start-and-stop-profiler.html: Removed.
* fast/profiler/no-execution-context-expected.txt: Removed.
* fast/profiler/no-execution-context.html: Removed.
* fast/profiler/one-execution-context-expected.txt: Removed.
* fast/profiler/one-execution-context.html: Removed.
* fast/profiler/profile-calls-in-included-file-expected.txt: Removed.
* fast/profiler/profile-calls-in-included-file.html: Removed.
* fast/profiler/profile-with-no-title-expected.txt: Removed.
* fast/profiler/profile-with-no-title.html: Removed.
* fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting-expected.txt: Removed.
* fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html: Removed.
* fast/profiler/profiling-from-a-nested-location-expected.txt: Removed.
* fast/profiler/profiling-from-a-nested-location.html: Removed.
* fast/profiler/resources/other-frame.html: Removed.
* fast/profiler/resources/other-window.html: Removed.
* fast/profiler/resources/profiler-test-JS-resources.js: Removed.
* fast/profiler/simple-event-call-expected.txt: Removed.
* fast/profiler/simple-event-call.html: Removed.
* fast/profiler/simple-no-level-change-expected.txt: Removed.
* fast/profiler/simple-no-level-change.html: Removed.
* fast/profiler/start-and-stop-profiler-multiple-times-expected.txt: Removed.
* fast/profiler/start-and-stop-profiler-multiple-times.html: Removed.
* fast/profiler/start-and-stop-profiling-in-the-same-function-expected.txt: Removed.
* fast/profiler/start-and-stop-profiling-in-the-same-function.html: Removed.
* fast/profiler/start-but-dont-stop-profiling-expected.txt: Removed.
* fast/profiler/start-but-dont-stop-profiling.html: Removed.
* fast/profiler/stop-profiling-after-setTimeout-expected.txt: Removed.
* fast/profiler/stop-profiling-after-setTimeout.html: Removed.
* fast/profiler/stop-then-function-call-expected.txt: Removed.
* fast/profiler/stop-then-function-call.html: Removed.
* fast/profiler/throw-exception-from-eval-expected.txt: Removed.
* fast/profiler/throw-exception-from-eval.html-disabled: Removed.
* fast/profiler/two-execution-contexts-expected.txt: Removed.
* fast/profiler/two-execution-contexts.html: Removed.
* fast/profiler/user-defined-function-calls-built-in-functions-expected.txt: Removed.
* fast/profiler/user-defined-function-calls-built-in-functions.html: Removed.
* fast/profiler/window-dot-eval-expected.txt: Removed.
* fast/profiler/window-dot-eval.html: Removed.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/ios-simulator/TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformeflTestExpectations">trunk/LayoutTests/platform/efl/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformgtkTestExpectations">trunk/LayoutTests/platform/gtk/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorTestExpectations">trunk/LayoutTests/platform/ios-simulator/TestExpectations</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorprotocolTimelinejson">trunk/Source/JavaScriptCore/inspector/protocol/Timeline.json</a></li>
<li><a href="#trunkSourceJavaScriptCorejsccpp">trunk/Source/JavaScriptCore/jsc.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSGlobalObjectcpp">trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreruntimeJSGlobalObjecth">trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcescpp">trunk/Source/WebCore/DerivedSources.cpp</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSCustomXPathNSResolvercpp">trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMWindowBasecpp">trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMWindowBaseh">trunk/Source/WebCore/bindings/js/JSDOMWindowBase.h</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSWorkerGlobalScopeBasecpp">trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSWorkerGlobalScopeBaseh">trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptCachedFrameDatacpp">trunk/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptControllercpp">trunk/Source/WebCore/bindings/js/ScriptController.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestTestObjidl">trunk/Source/WebCore/bindings/scripts/test/TestObj.idl</a></li>
<li><a href="#trunkSourceWebCorecssCSSParsercpp">trunk/Source/WebCore/css/CSSParser.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorConsoleInstrumentationh">trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorControllercpp">trunk/Source/WebCore/inspector/InspectorController.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorControllerh">trunk/Source/WebCore/inspector/InspectorController.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorInstrumentationcpp">trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorInstrumentationh">trunk/Source/WebCore/inspector/InspectorInstrumentation.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorTimelineAgentcpp">trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorTimelineAgenth">trunk/Source/WebCore/inspector/InspectorTimelineAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageDebuggerAgentcpp">trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageRuntimeAgentcpp">trunk/Source/WebCore/inspector/PageRuntimeAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorTimelineRecordFactorycpp">trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorTimelineRecordFactoryh">trunk/Source/WebCore/inspector/TimelineRecordFactory.h</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowcpp">trunk/Source/WebCore/page/DOMWindow.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePagecpp">trunk/Source/WebCore/page/Page.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageConsoleClientcpp">trunk/Source/WebCore/page/PageConsoleClient.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageConsoleClienth">trunk/Source/WebCore/page/PageConsoleClient.h</a></li>
<li><a href="#trunkSourceWebCoretestingInternalscpp">trunk/Source/WebCore/testing/Internals.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsh">trunk/Source/WebCore/testing/Internals.h</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsidl">trunk/Source/WebCore/testing/Internals.idl</a></li>
<li><a href="#trunkSourceWebKitwinChangeLog">trunk/Source/WebKit/win/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitwinInterfacesIWebInspectoridl">trunk/Source/WebKit/win/Interfaces/IWebInspector.idl</a></li>
<li><a href="#trunkSourceWebKitwinWebCoreStatisticscpp">trunk/Source/WebKit/win/WebCoreStatistics.cpp</a></li>
<li><a href="#trunkSourceWebKitwinWebInspectorcpp">trunk/Source/WebKit/win/WebInspector.cpp</a></li>
<li><a href="#trunkSourceWebKitwinWebInspectorh">trunk/Source/WebKit/win/WebInspector.h</a></li>
<li><a href="#trunkSourceWebKitwinWebViewcpp">trunk/Source/WebKit/win/WebView.cpp</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>trunk/LayoutTests/fast/profiler/</li>
<li><a href="#trunkManualTestsinspectorprofilertestcallhtml">trunk/ManualTests/inspector/profiler-test-call.html</a></li>
<li><a href="#trunkManualTestsinspectorprofilertestmanycallsinthesamescopehtml">trunk/ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersprofilerLegacyProfilerh">trunk/Source/WebCore/ForwardingHeaders/profiler/LegacyProfiler.h</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptProfileh">trunk/Source/WebCore/bindings/js/ScriptProfile.h</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptProfileNodeh">trunk/Source/WebCore/bindings/js/ScriptProfileNode.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptProfileidl">trunk/Source/WebCore/inspector/ScriptProfile.idl</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptProfileNodeidl">trunk/Source/WebCore/inspector/ScriptProfileNode.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/ChangeLog        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2016-05-20  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Remove LegacyProfiler
+        https://bugs.webkit.org/show_bug.cgi?id=153565
+
+        Reviewed by Saam Barati.
+
+        * ManualTests/inspector/profiler-test-call.html: Removed.
+        * ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html: Removed.
+
</ins><span class="cx"> 2016-05-18  Gwang Yoon Hwang  &lt;yoon@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [GStreamer] Use FakeSink to get a decoded texture from a pipeline
</span></span></pre></div>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/LayoutTests/ChangeLog        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,3 +1,103 @@
</span><ins>+2016-05-20  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Remove LegacyProfiler
+        https://bugs.webkit.org/show_bug.cgi?id=153565
+
+        Reviewed by Saam Barati.
+
+        * fast/profiler/anonymous-event-handler-expected.txt: Removed.
+        * fast/profiler/anonymous-event-handler.html: Removed.
+        * fast/profiler/anonymous-function-called-from-different-contexts-expected.txt: Removed.
+        * fast/profiler/anonymous-function-called-from-different-contexts.html: Removed.
+        * fast/profiler/anonymous-function-calls-built-in-functions-expected.txt: Removed.
+        * fast/profiler/anonymous-function-calls-built-in-functions.html: Removed.
+        * fast/profiler/anonymous-function-calls-eval-expected.txt: Removed.
+        * fast/profiler/anonymous-function-calls-eval.html: Removed.
+        * fast/profiler/anonymous-functions-with-display-names-expected.txt: Removed.
+        * fast/profiler/anonymous-functions-with-display-names.html: Removed.
+        * fast/profiler/apply-expected.txt: Removed.
+        * fast/profiler/apply.html: Removed.
+        * fast/profiler/built-in-function-calls-anonymous-expected.txt: Removed.
+        * fast/profiler/built-in-function-calls-anonymous.html: Removed.
+        * fast/profiler/built-in-function-calls-user-defined-function-expected.txt: Removed.
+        * fast/profiler/built-in-function-calls-user-defined-function.html: Removed.
+        * fast/profiler/call-expected.txt: Removed.
+        * fast/profiler/call-register-leak-expected.txt: Removed.
+        * fast/profiler/call-register-leak.html: Removed.
+        * fast/profiler/call.html: Removed.
+        * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope-expected.txt: Removed.
+        * fast/profiler/calling-the-function-that-started-the-profiler-from-another-scope.html: Removed.
+        * fast/profiler/compare-multiple-profiles-expected.txt: Removed.
+        * fast/profiler/compare-multiple-profiles.html: Removed.
+        * fast/profiler/constructor-expected.txt: Removed.
+        * fast/profiler/constructor.html: Removed.
+        * fast/profiler/dead-time-expected.txt: Removed.
+        * fast/profiler/dead-time.html: Removed.
+        * fast/profiler/document-dot-write-expected.txt: Removed.
+        * fast/profiler/document-dot-write.html: Removed.
+        * fast/profiler/event-handler-expected.txt: Removed.
+        * fast/profiler/event-handler.html: Removed.
+        * fast/profiler/execution-context-and-eval-on-same-line-expected.txt: Removed.
+        * fast/profiler/execution-context-and-eval-on-same-line.html: Removed.
+        * fast/profiler/inline-event-handler-expected.txt: Removed.
+        * fast/profiler/inline-event-handler.html: Removed.
+        * fast/profiler/many-calls-in-the-same-scope-expected.txt: Removed.
+        * fast/profiler/many-calls-in-the-same-scope.html: Removed.
+        * fast/profiler/multiple-and-different-scoped-anonymous-function-calls-expected.txt: Removed.
+        * fast/profiler/multiple-and-different-scoped-anonymous-function-calls.html: Removed.
+        * fast/profiler/multiple-and-different-scoped-function-calls-expected.txt: Removed.
+        * fast/profiler/multiple-and-different-scoped-function-calls.html: Removed.
+        * fast/profiler/multiple-anonymous-functions-called-from-the-same-function-expected.txt: Removed.
+        * fast/profiler/multiple-anonymous-functions-called-from-the-same-function.html: Removed.
+        * fast/profiler/multiple-frames-expected.txt: Removed.
+        * fast/profiler/multiple-frames.html: Removed.
+        * fast/profiler/named-functions-with-display-names-expected.txt: Removed.
+        * fast/profiler/named-functions-with-display-names.html: Removed.
+        * fast/profiler/nested-anonymous-functon-expected.txt: Removed.
+        * fast/profiler/nested-anonymous-functon.html: Removed.
+        * fast/profiler/nested-start-and-stop-profiler-expected.txt: Removed.
+        * fast/profiler/nested-start-and-stop-profiler.html: Removed.
+        * fast/profiler/no-execution-context-expected.txt: Removed.
+        * fast/profiler/no-execution-context.html: Removed.
+        * fast/profiler/one-execution-context-expected.txt: Removed.
+        * fast/profiler/one-execution-context.html: Removed.
+        * fast/profiler/profile-calls-in-included-file-expected.txt: Removed.
+        * fast/profiler/profile-calls-in-included-file.html: Removed.
+        * fast/profiler/profile-with-no-title-expected.txt: Removed.
+        * fast/profiler/profile-with-no-title.html: Removed.
+        * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting-expected.txt: Removed.
+        * fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html: Removed.
+        * fast/profiler/profiling-from-a-nested-location-expected.txt: Removed.
+        * fast/profiler/profiling-from-a-nested-location.html: Removed.
+        * fast/profiler/resources/other-frame.html: Removed.
+        * fast/profiler/resources/other-window.html: Removed.
+        * fast/profiler/resources/profiler-test-JS-resources.js: Removed.
+        * fast/profiler/simple-event-call-expected.txt: Removed.
+        * fast/profiler/simple-event-call.html: Removed.
+        * fast/profiler/simple-no-level-change-expected.txt: Removed.
+        * fast/profiler/simple-no-level-change.html: Removed.
+        * fast/profiler/start-and-stop-profiler-multiple-times-expected.txt: Removed.
+        * fast/profiler/start-and-stop-profiler-multiple-times.html: Removed.
+        * fast/profiler/start-and-stop-profiling-in-the-same-function-expected.txt: Removed.
+        * fast/profiler/start-and-stop-profiling-in-the-same-function.html: Removed.
+        * fast/profiler/start-but-dont-stop-profiling-expected.txt: Removed.
+        * fast/profiler/start-but-dont-stop-profiling.html: Removed.
+        * fast/profiler/stop-profiling-after-setTimeout-expected.txt: Removed.
+        * fast/profiler/stop-profiling-after-setTimeout.html: Removed.
+        * fast/profiler/stop-then-function-call-expected.txt: Removed.
+        * fast/profiler/stop-then-function-call.html: Removed.
+        * fast/profiler/throw-exception-from-eval-expected.txt: Removed.
+        * fast/profiler/throw-exception-from-eval.html-disabled: Removed.
+        * fast/profiler/two-execution-contexts-expected.txt: Removed.
+        * fast/profiler/two-execution-contexts.html: Removed.
+        * fast/profiler/user-defined-function-calls-built-in-functions-expected.txt: Removed.
+        * fast/profiler/user-defined-function-calls-built-in-functions.html: Removed.
+        * fast/profiler/window-dot-eval-expected.txt: Removed.
+        * fast/profiler/window-dot-eval.html: Removed.
+        * platform/efl/TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/ios-simulator/TestExpectations:
+
</ins><span class="cx"> 2016-05-20  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         `width: 1%` on nested table cell causes its table to hog horizontal space
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/TestExpectations (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/TestExpectations        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/LayoutTests/platform/efl/TestExpectations        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1021,9 +1021,6 @@
</span><span class="cx"> webkit.org/b/142156 css3/shapes/spec-examples/shape-outside-012.html [ Failure Pass ]
</span><span class="cx"> webkit.org/b/142156 css3/shapes/spec-examples/shape-outside-019.html [ Failure Pass ]
</span><span class="cx"> 
</span><del>-webkit.org/b/142157 fast/profiler/dead-time.html [ Failure Pass ]
-webkit.org/b/142157 fast/profiler/stop-profiling-after-setTimeout.html [ Failure Pass ]
-
</del><span class="cx"> webkit.org/b/95551 fast/forms/datalist/update-range-with-datalist.html [ ImageOnlyFailure Pass ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/129820 svg/clip-path/mask-nested-clip-path-006.svg [ Pass ImageOnlyFailure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/TestExpectations (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/TestExpectations        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/LayoutTests/platform/gtk/TestExpectations        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1203,9 +1203,6 @@
</span><span class="cx"> webkit.org/b/136066 animations/missing-values-first-keyframe.html [ Crash Pass ]
</span><span class="cx"> webkit.org/b/136066 animations/state-at-end-event.html [ Crash Pass ]
</span><span class="cx"> 
</span><del>-webkit.org/b/136067 fast/profiler/dead-time.html [ Failure Pass ]
-webkit.org/b/136067 fast/profiler/stop-profiling-after-setTimeout.html [ Failure Pass ]
-
</del><span class="cx"> webkit.org/b/136070 fast/forms/label/label-becomes-visible-while-clicking-on-label.html [ Failure Pass ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/136580 media/context-menu-actions.html [ Timeout Pass ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/TestExpectations        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1896,7 +1896,6 @@
</span><span class="cx"> fast/preloader/document-write-2.html [ Failure ]
</span><span class="cx"> fast/preloader/document-write.html [ Failure ]
</span><span class="cx"> fast/preloader/image-srcset.html [ Failure ]
</span><del>-fast/profiler/profiling-from-a-nested-location-but-stop-profiling-outside-the-nesting.html [ Failure ]
</del><span class="cx"> fast/regions/absolute-in-relative-overflow.html [ ImageOnlyFailure ]
</span><span class="cx"> fast/regions/absolute-pos-elem-in-region.html [ ImageOnlyFailure ]
</span><span class="cx"> fast/regions/animation-element-in-region-flowed-to-other-thread.html [ ImageOnlyFailure ]
</span></span></pre></div>
<a id="trunkManualTestsinspectorprofilertestcallhtml"></a>
<div class="delfile"><h4>Deleted: trunk/ManualTests/inspector/profiler-test-call.html (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ManualTests/inspector/profiler-test-call.html        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/ManualTests/inspector/profiler-test-call.html        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;resources/profiler-test-JS-resources.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-console.profile(&quot;Using the call() method&quot;);
-function startTest()
-{
-    var myObject = new fakeObject(1, 2);
-    endTest();
-}
-
-function fakeObject (x, y)
-{
-    this.x = x;
-    fakeInteriorFunction.call(this, y);
-}
-
-function fakeInteriorFunction(y)
-{
-    this.y = y;
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;startTest()&quot;&gt;
-This page's JavaScript has a call to call() in it.
-&lt;br&gt;
-&lt;br&gt;
-To use this test, load it in the browser then load the WebInspector and look at
-the profile.  In the profile there should be a call to fakeObject() with call() as
-its child and a fakeInteriorFunction() as call()'s child.
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkManualTestsinspectorprofilertestmanycallsinthesamescopehtml"></a>
<div class="delfile"><h4>Deleted: trunk/ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/ManualTests/inspector/profiler-test-many-calls-in-the-same-scope.html        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;resources/profiler-test-JS-resources.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-console.profile(&quot;Many Calls In The Same Scope&quot;);
-function startTest()
-{
-    insertNewText();
-    insertGivenText(&quot;This was a triumph.&quot;);
-    arrayOperatorFunction(7);
-    intermediaryFunction();
-    anonymousFunction();
-    end()
-    endT();
-    endT();
-    endTest();
-}
-
-function end()
-{
-    var x = 0;
-}
-
-function endT()
-{
-    var y = 1;
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;startTest()&quot;&gt;
-This page's JavaScript has many function calls in the same scope.
-&lt;br&gt;
-&lt;br&gt;
-To use this test, load it in the browser then load the WebInspector and look at
-the profile.  In the profile many functions should be the children of startTest.
-Use the sorting capabilites to make sure the similarly named functions are sorted
-correctly.
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/JavaScriptCore/ChangeLog        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-05-20  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Remove LegacyProfiler
+        https://bugs.webkit.org/show_bug.cgi?id=153565
+
+        Reviewed by Saam Barati.
+
+        * inspector/protocol/Timeline.json:
+        * jsc.cpp:
+        * runtime/JSGlobalObject.cpp:
+        (JSC::JSGlobalObject::hasLegacyProfiler):
+        * runtime/JSGlobalObject.h:
+        (JSC::JSGlobalObject::supportsLegacyProfiling): Deleted.
+
</ins><span class="cx"> 2016-05-20  Saam barati  &lt;sbarati@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         JSScope::abstractAccess doesn't need to copy the SymbolTableEntry, it can use it by reference
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorprotocolTimelinejson"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/protocol/Timeline.json (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/protocol/Timeline.json        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/JavaScriptCore/inspector/protocol/Timeline.json        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -51,40 +51,6 @@
</span><span class="cx">                 { &quot;name&quot;: &quot;data&quot;, &quot;type&quot;: &quot;object&quot;, &quot;description&quot;: &quot;Event data.&quot; },
</span><span class="cx">                 { &quot;name&quot;: &quot;children&quot;, &quot;type&quot;: &quot;array&quot;, &quot;optional&quot;: true, &quot;items&quot;: { &quot;$ref&quot;: &quot;TimelineEvent&quot; }, &quot;description&quot;: &quot;Nested records.&quot; }
</span><span class="cx">             ]
</span><del>-        },
-        {
-            &quot;id&quot;: &quot;CPUProfileNodeAggregateCallInfo&quot;,
-            &quot;type&quot;: &quot;object&quot;,
-            &quot;description&quot;: &quot;Aggregate CPU Profile call info. Holds time information for all the calls that happened on a node.&quot;,
-            &quot;properties&quot;: [
-                { &quot;name&quot;: &quot;callCount&quot;, &quot;type&quot;: &quot;number&quot;, &quot;description&quot;: &quot;Total number of calls.&quot; },
-                { &quot;name&quot;: &quot;startTime&quot;, &quot;type&quot;: &quot;number&quot;, &quot;description&quot;: &quot;Start time for the first call.&quot; },
-                { &quot;name&quot;: &quot;endTime&quot;, &quot;type&quot;: &quot;number&quot;, &quot;description&quot;: &quot;End time for the last call.&quot; },
-                { &quot;name&quot;: &quot;totalTime&quot;, &quot;type&quot;: &quot;number&quot;, &quot;description&quot;: &quot;Total execution time for all calls combined.&quot; }
-            ]
-        },
-        {
-            &quot;id&quot;: &quot;CPUProfileNode&quot;,
-            &quot;type&quot;: &quot;object&quot;,
-            &quot;description&quot;: &quot;CPU Profile node. Holds callsite information, execution statistics and child nodes.&quot;,
-            &quot;properties&quot;: [
-                { &quot;name&quot;: &quot;id&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;Unique identifier for this call site.&quot; },
-                { &quot;name&quot;: &quot;callInfo&quot;, &quot;$ref&quot;: &quot;CPUProfileNodeAggregateCallInfo&quot;, &quot;description&quot;: &quot;Aggregate info about all the calls that making up this node.&quot; },
-                { &quot;name&quot;: &quot;functionName&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Function name.&quot; },
-                { &quot;name&quot;: &quot;url&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;URL.&quot; },
-                { &quot;name&quot;: &quot;lineNumber&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Line number.&quot; },
-                { &quot;name&quot;: &quot;columnNumber&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Column number.&quot; },
-                { &quot;name&quot;: &quot;children&quot;, &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;$ref&quot;: &quot;CPUProfileNode&quot; }, &quot;optional&quot;: true, &quot;description&quot;: &quot;Child nodes.&quot; }
-            ]
-        },
-        {
-            &quot;id&quot;: &quot;CPUProfile&quot;,
-            &quot;type&quot;: &quot;object&quot;,
-            &quot;description&quot;: &quot;Profile.&quot;,
-            &quot;properties&quot;: [
-                { &quot;name&quot;: &quot;rootNodes&quot;, &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;$ref&quot;: &quot;CPUProfileNode&quot; }, &quot;description&quot;: &quot;Top level nodes in the stack.&quot; },
-                { &quot;name&quot;: &quot;idleTime&quot;, &quot;type&quot;: &quot;number&quot;, &quot;optional&quot;: true }
-            ]
</del><span class="cx">         }
</span><span class="cx">     ],
</span><span class="cx">     &quot;commands&quot;: [
</span></span></pre></div>
<a id="trunkSourceJavaScriptCorejsccpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/jsc.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/jsc.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/JavaScriptCore/jsc.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -868,7 +868,7 @@
</span><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo GlobalObject::s_info = { &quot;global&quot;, &amp;JSGlobalObject::s_info, nullptr, CREATE_METHOD_TABLE(GlobalObject) };
</span><del>-const GlobalObjectMethodTable GlobalObject::s_globalObjectMethodTable = { &amp;allowsAccessFrom, &amp;supportsLegacyProfiling, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, 0, &amp;shouldInterruptScriptBeforeTimeout, &amp;moduleLoaderResolve, &amp;moduleLoaderFetch, nullptr, nullptr, nullptr, nullptr };
</del><ins>+const GlobalObjectMethodTable GlobalObject::s_globalObjectMethodTable = { &amp;allowsAccessFrom, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, 0, &amp;shouldInterruptScriptBeforeTimeout, &amp;moduleLoaderResolve, &amp;moduleLoaderFetch, nullptr, nullptr, nullptr, nullptr };
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> GlobalObject::GlobalObject(VM&amp; vm, Structure* structure)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSGlobalObjectcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -208,7 +208,7 @@
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSGlobalObject::s_info = { &quot;GlobalObject&quot;, &amp;Base::s_info, &amp;globalObjectTable, CREATE_METHOD_TABLE(JSGlobalObject) };
</span><span class="cx"> 
</span><del>-const GlobalObjectMethodTable JSGlobalObject::s_globalObjectMethodTable = { &amp;allowsAccessFrom, &amp;supportsLegacyProfiling, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, nullptr, &amp;shouldInterruptScriptBeforeTimeout, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr };
</del><ins>+const GlobalObjectMethodTable JSGlobalObject::s_globalObjectMethodTable = { &amp;allowsAccessFrom, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, nullptr, &amp;shouldInterruptScriptBeforeTimeout, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr };
</ins><span class="cx"> 
</span><span class="cx"> /* Source for JSGlobalObject.lut.h
</span><span class="cx"> @begin globalObjectTable
</span><span class="lines">@@ -833,7 +833,8 @@
</span><span class="cx"> 
</span><span class="cx"> bool JSGlobalObject::hasLegacyProfiler() const
</span><span class="cx"> {
</span><del>-    return globalObjectMethodTable()-&gt;supportsLegacyProfiling(this);
</del><ins>+    // FIXME: Remove Legacy Profiler from JavaScriptCore.
+    return false;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool JSGlobalObject::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot&amp; slot)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreruntimeJSGlobalObjecth"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/JavaScriptCore/runtime/JSGlobalObject.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -151,9 +151,6 @@
</span><span class="cx">     typedef bool (*AllowsAccessFromFunctionPtr)(const JSGlobalObject*, ExecState*);
</span><span class="cx">     AllowsAccessFromFunctionPtr allowsAccessFrom;
</span><span class="cx"> 
</span><del>-    typedef bool (*SupportsLegacyProfilingFunctionPtr)(const JSGlobalObject*);
-    SupportsLegacyProfilingFunctionPtr supportsLegacyProfiling;
-
</del><span class="cx">     typedef bool (*SupportsRichSourceInfoFunctionPtr)(const JSGlobalObject*);
</span><span class="cx">     SupportsRichSourceInfoFunctionPtr supportsRichSourceInfo;
</span><span class="cx"> 
</span><span class="lines">@@ -717,7 +714,6 @@
</span><span class="cx">     const GlobalObjectMethodTable* globalObjectMethodTable() const { return m_globalObjectMethodTable; }
</span><span class="cx"> 
</span><span class="cx">     static bool allowsAccessFrom(const JSGlobalObject*, ExecState*) { return true; }
</span><del>-    static bool supportsLegacyProfiling(const JSGlobalObject*) { return false; }
</del><span class="cx">     static bool supportsRichSourceInfo(const JSGlobalObject*) { return true; }
</span><span class="cx"> 
</span><span class="cx">     JS_EXPORT_PRIVATE ExecState* globalExec();
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/CMakeLists.txt        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -590,8 +590,6 @@
</span><span class="cx"> 
</span><span class="cx">     inspector/CommandLineAPIHost.idl
</span><span class="cx">     inspector/InspectorFrontendHost.idl
</span><del>-    inspector/ScriptProfile.idl
-    inspector/ScriptProfileNode.idl
</del><span class="cx"> 
</span><span class="cx">     loader/appcache/DOMApplicationCache.idl
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/ChangeLog        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,3 +1,80 @@
</span><ins>+2016-05-20  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Remove LegacyProfiler
+        https://bugs.webkit.org/show_bug.cgi?id=153565
+
+        Reviewed by Saam Barati.
+
+        JavaScriptCore now provides a sampling profiler and it is enabled
+        by all ports. Web Inspector switched months ago to using the
+        sampling profiler and displaying its data. Remove the legacy
+        profiler, as it is no longer being used by anything other then
+        console.profile and tests. We will update console.profile's
+        behavior soon to have new behavior and use the sampling data.
+
+        * CMakeLists.txt:
+        * DerivedSources.cpp:
+        * DerivedSources.make:
+        * ForwardingHeaders/profiler/LegacyProfiler.h: Removed.
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/js/JSCustomXPathNSResolver.cpp:
+        * bindings/js/JSDOMWindowBase.cpp:
+        (WebCore::JSDOMWindowBase::supportsLegacyProfiling): Deleted.
+        (WebCore::JSDOMWindowBase::supportsRichSourceInfo): Deleted.
+        * bindings/js/JSDOMWindowBase.h:
+        * bindings/js/JSWorkerGlobalScopeBase.cpp:
+        (WebCore::JSWorkerGlobalScopeBase::supportsLegacyProfiling): Deleted.
+        * bindings/js/JSWorkerGlobalScopeBase.h:
+        * bindings/js/ScriptCachedFrameData.cpp:
+        * bindings/js/ScriptController.cpp:
+        (WebCore::ScriptController::clearWindowShell): Deleted.
+        * bindings/js/ScriptProfile.h: Removed.
+        * bindings/js/ScriptProfileNode.h: Removed.
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (AddClassForwardIfNeeded): Deleted.
+        * bindings/scripts/test/JS/JSTestObj.cpp:
+        (WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg): Deleted.
+        (WebCore::jsTestObjPrototypeFunctionMethodReturningSequence): Deleted.
+        * bindings/scripts/test/TestObj.idl:
+        * css/CSSParser.cpp:
+        * dom/Document.cpp:
+        * inspector/InspectorConsoleInstrumentation.h:
+        (WebCore::InspectorInstrumentation::stopProfiling):
+        * inspector/InspectorController.cpp:
+        (WebCore::InspectorController::InspectorController):
+        (WebCore::InspectorController::legacyProfilerEnabled): Deleted.
+        (WebCore::InspectorController::setLegacyProfilerEnabled): Deleted.
+        * inspector/InspectorController.h:
+        * inspector/InspectorInstrumentation.cpp:
+        (WebCore::InspectorInstrumentation::stopProfilingImpl):
+        * inspector/InspectorInstrumentation.h:
+        * inspector/InspectorTimelineAgent.cpp:
+        (WebCore::InspectorTimelineAgent::startFromConsole):
+        (WebCore::InspectorTimelineAgent::stopFromConsole):
+        * inspector/InspectorTimelineAgent.h:
+        * inspector/PageDebuggerAgent.cpp:
+        * inspector/PageRuntimeAgent.cpp:
+        * inspector/ScriptProfile.idl: Removed.
+        * inspector/ScriptProfileNode.idl: Removed.
+        * inspector/TimelineRecordFactory.cpp:
+        (WebCore::buildAggregateCallInfoInspectorObject): Deleted.
+        (WebCore::buildInspectorObject): Deleted.
+        (WebCore::buildProfileInspectorObject): Deleted.
+        (WebCore::TimelineRecordFactory::appendProfile): Deleted.
+        * inspector/TimelineRecordFactory.h:
+        * page/DOMWindow.cpp:
+        * page/Page.cpp:
+        * page/PageConsoleClient.cpp:
+        (WebCore::PageConsoleClient::profileEnd):
+        (WebCore::PageConsoleClient::clearProfiles): Deleted.
+        * page/PageConsoleClient.h:
+        * testing/Internals.cpp:
+        (WebCore::Internals::resetToConsistentState): Deleted.
+        (WebCore::Internals::consoleProfiles): Deleted.
+        (WebCore::Internals::setLegacyJavaScriptProfilingEnabled): Deleted.
+        * testing/Internals.h:
+        * testing/Internals.idl:
+
</ins><span class="cx"> 2016-05-20  Zalan Bujtas  &lt;zalan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         `width: 1%` on nested table cell causes its table to hog horizontal space
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/DerivedSources.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -421,8 +421,6 @@
</span><span class="cx"> #include &quot;JSRTCTrackEvent.cpp&quot;
</span><span class="cx"> #include &quot;JSScreen.cpp&quot;
</span><span class="cx"> #include &quot;JSScriptProcessorNode.cpp&quot;
</span><del>-#include &quot;JSScriptProfile.cpp&quot;
-#include &quot;JSScriptProfileNode.cpp&quot;
</del><span class="cx"> #if ENABLE(CSP_NEXT)
</span><span class="cx"> #include &quot;JSSecurityPolicyViolationEvent.cpp&quot;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/DerivedSources.make        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -504,8 +504,6 @@
</span><span class="cx">     $(WebCore)/html/track/VTTCue.idl \
</span><span class="cx">     $(WebCore)/inspector/CommandLineAPIHost.idl \
</span><span class="cx">     $(WebCore)/inspector/InspectorFrontendHost.idl \
</span><del>-    $(WebCore)/inspector/ScriptProfile.idl \
-    $(WebCore)/inspector/ScriptProfileNode.idl \
</del><span class="cx">     $(WebCore)/loader/appcache/DOMApplicationCache.idl \
</span><span class="cx">     $(WebCore)/page/AbstractView.idl \
</span><span class="cx">     $(WebCore)/page/BarProp.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersprofilerLegacyProfilerh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/ForwardingHeaders/profiler/LegacyProfiler.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/profiler/LegacyProfiler.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/ForwardingHeaders/profiler/LegacyProfiler.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-#ifndef WebCore_FWD_LegacyProfiler_h
-#define WebCore_FWD_LegacyProfiler_h
-#include &lt;JavaScriptCore/LegacyProfiler.h&gt;
-#endif
-
</del></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -4051,12 +4051,6 @@
</span><span class="cx">                 9DAC7C541AF2CAA100437C44 /* CSSContentDistributionValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9DAC7C521AF2CAA100437C44 /* CSSContentDistributionValue.cpp */; };
</span><span class="cx">                 9DAC7C551AF2CAA200437C44 /* CSSContentDistributionValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DAC7C531AF2CAA100437C44 /* CSSContentDistributionValue.h */; };
</span><span class="cx">                 9DAC7C571AF2CB6400437C44 /* StyleContentAlignmentData.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DAC7C561AF2CB6400437C44 /* StyleContentAlignmentData.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                9F72304F11184B4100AD0126 /* ScriptProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F72304C11184B4100AD0126 /* ScriptProfile.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                9FA37EE41172FC8000C4CD55 /* ScriptProfileNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FA37EE31172FC8000C4CD55 /* ScriptProfileNode.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                9FA37EFA1172FDA600C4CD55 /* JSScriptProfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FA37EF61172FD9300C4CD55 /* JSScriptProfile.cpp */; };
-                9FA37EFB1172FDA600C4CD55 /* JSScriptProfile.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FA37EF71172FD9300C4CD55 /* JSScriptProfile.h */; };
-                9FA37EFC1172FDA600C4CD55 /* JSScriptProfileNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 9FA37EF81172FD9300C4CD55 /* JSScriptProfileNode.cpp */; };
-                9FA37EFD1172FDA600C4CD55 /* JSScriptProfileNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 9FA37EF91172FD9300C4CD55 /* JSScriptProfileNode.h */; };
</del><span class="cx">                 A07D3355152B630E001B6393 /* JSWebGLShaderPrecisionFormat.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A07D3353152B630E001B6393 /* JSWebGLShaderPrecisionFormat.cpp */; };
</span><span class="cx">                 A07D3356152B630E001B6393 /* JSWebGLShaderPrecisionFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = A07D3354152B630E001B6393 /* JSWebGLShaderPrecisionFormat.h */; };
</span><span class="cx">                 A07D3358152B632D001B6393 /* WebGLShaderPrecisionFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = A07D3357152B632D001B6393 /* WebGLShaderPrecisionFormat.h */; };
</span><span class="lines">@@ -11767,14 +11761,6 @@
</span><span class="cx">                 9DAC7C521AF2CAA100437C44 /* CSSContentDistributionValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSContentDistributionValue.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 9DAC7C531AF2CAA100437C44 /* CSSContentDistributionValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSContentDistributionValue.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 9DAC7C561AF2CB6400437C44 /* StyleContentAlignmentData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StyleContentAlignmentData.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                9F72304C11184B4100AD0126 /* ScriptProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptProfile.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EE31172FC8000C4CD55 /* ScriptProfileNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptProfileNode.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EEF1172FD4100C4CD55 /* ScriptProfile.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ScriptProfile.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EF01172FD4100C4CD55 /* ScriptProfileNode.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ScriptProfileNode.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EF61172FD9300C4CD55 /* JSScriptProfile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSScriptProfile.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EF71172FD9300C4CD55 /* JSScriptProfile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSScriptProfile.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EF81172FD9300C4CD55 /* JSScriptProfileNode.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSScriptProfileNode.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                9FA37EF91172FD9300C4CD55 /* JSScriptProfileNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSScriptProfileNode.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 A07D3353152B630E001B6393 /* JSWebGLShaderPrecisionFormat.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGLShaderPrecisionFormat.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A07D3354152B630E001B6393 /* JSWebGLShaderPrecisionFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGLShaderPrecisionFormat.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A07D3357152B632D001B6393 /* WebGLShaderPrecisionFormat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebGLShaderPrecisionFormat.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -16282,10 +16268,6 @@
</span><span class="cx">                                 A584FE3A1864E2D800843B10 /* JSCommandLineAPIHost.h */,
</span><span class="cx">                                 7A0E771C10C00DB100A0276E /* JSInspectorFrontendHost.cpp */,
</span><span class="cx">                                 7A0E771D10C00DB100A0276E /* JSInspectorFrontendHost.h */,
</span><del>-                                9FA37EF61172FD9300C4CD55 /* JSScriptProfile.cpp */,
-                                9FA37EF71172FD9300C4CD55 /* JSScriptProfile.h */,
-                                9FA37EF81172FD9300C4CD55 /* JSScriptProfileNode.cpp */,
-                                9FA37EF91172FD9300C4CD55 /* JSScriptProfileNode.h */,
</del><span class="cx">                         );
</span><span class="cx">                         name = Inspector;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="lines">@@ -16370,8 +16352,6 @@
</span><span class="cx">                                 F382088D147D35F90010BC06 /* PageRuntimeAgent.h */,
</span><span class="cx">                                 A5F36D3818F758720054C024 /* PageScriptDebugServer.cpp */,
</span><span class="cx">                                 A5F36D3918F758720054C024 /* PageScriptDebugServer.h */,
</span><del>-                                9FA37EEF1172FD4100C4CD55 /* ScriptProfile.idl */,
-                                9FA37EF01172FD4100C4CD55 /* ScriptProfileNode.idl */,
</del><span class="cx">                                 7553CFE7108F473F00EA281E /* TimelineRecordFactory.cpp */,
</span><span class="cx">                                 7553CFE6108F473F00EA281E /* TimelineRecordFactory.h */,
</span><span class="cx">                                 A56C5B98189F34570082D13C /* WebConsoleAgent.cpp */,
</span><span class="lines">@@ -22356,8 +22336,6 @@
</span><span class="cx">                                 A83E1C720E49042B00140B9C /* ScriptControllerMac.mm */,
</span><span class="cx">                                 41F066E30F64BCF600A07EAC /* ScriptGlobalObject.cpp */,
</span><span class="cx">                                 41F066E20F64BCF600A07EAC /* ScriptGlobalObject.h */,
</span><del>-                                9F72304C11184B4100AD0126 /* ScriptProfile.h */,
-                                9FA37EE31172FC8000C4CD55 /* ScriptProfileNode.h */,
</del><span class="cx">                                 934CC1090EDB223900A658F2 /* ScriptSourceCode.h */,
</span><span class="cx">                                 4127D5360F8AAB1D00E424F5 /* ScriptState.cpp */,
</span><span class="cx">                                 41C760B00EDE03D300C1655F /* ScriptState.h */,
</span><span class="lines">@@ -26834,8 +26812,6 @@
</span><span class="cx">                                 5E2C436C1BCF071E0001E2BC /* JSRTCTrackEvent.h in Headers */,
</span><span class="cx">                                 BCEC01C30C274DDD009F4EC9 /* JSScreen.h in Headers */,
</span><span class="cx">                                 FDA15ECE12B03F61003A583A /* JSScriptProcessorNode.h in Headers */,
</span><del>-                                9FA37EFB1172FDA600C4CD55 /* JSScriptProfile.h in Headers */,
-                                9FA37EFD1172FDA600C4CD55 /* JSScriptProfileNode.h in Headers */,
</del><span class="cx">                                 CED06AD11C77754800FDFAF1 /* JSSecurityPolicyViolationEvent.h in Headers */,
</span><span class="cx">                                 9BDA64D81B975CF2009C4387 /* JSShadowRoot.h in Headers */,
</span><span class="cx">                                 CD9DE17B17AAC75B00EA386D /* JSSourceBuffer.h in Headers */,
</span><span class="lines">@@ -27826,8 +27802,6 @@
</span><span class="cx">                                 E11C9D9B0EB3681200E409DB /* ScriptExecutionContext.h in Headers */,
</span><span class="cx">                                 41F066E40F64BCF600A07EAC /* ScriptGlobalObject.h in Headers */,
</span><span class="cx">                                 FD31603612B0267600C1A359 /* ScriptProcessorNode.h in Headers */,
</span><del>-                                9F72304F11184B4100AD0126 /* ScriptProfile.h in Headers */,
-                                9FA37EE41172FC8000C4CD55 /* ScriptProfileNode.h in Headers */,
</del><span class="cx">                                 8A413AE01207BBA50082016E /* ScriptRunner.h in Headers */,
</span><span class="cx">                                 934CC10A0EDB223900A658F2 /* ScriptSourceCode.h in Headers */,
</span><span class="cx">                                 41C760B10EDE03D300C1655F /* ScriptState.h in Headers */,
</span><span class="lines">@@ -30600,8 +30574,6 @@
</span><span class="cx">                                 5E2C436B1BCF071E0001E2BC /* JSRTCTrackEvent.cpp in Sources */,
</span><span class="cx">                                 BCEC01C20C274DDD009F4EC9 /* JSScreen.cpp in Sources */,
</span><span class="cx">                                 FDA15ECD12B03F61003A583A /* JSScriptProcessorNode.cpp in Sources */,
</span><del>-                                9FA37EFA1172FDA600C4CD55 /* JSScriptProfile.cpp in Sources */,
-                                9FA37EFC1172FDA600C4CD55 /* JSScriptProfileNode.cpp in Sources */,
</del><span class="cx">                                 CED06AD01C77754800FDFAF1 /* JSSecurityPolicyViolationEvent.cpp in Sources */,
</span><span class="cx">                                 9BDA64D71B975CE5009C4387 /* JSShadowRoot.cpp in Sources */,
</span><span class="cx">                                 CD9DE17A17AAC75B00EA386D /* JSSourceBuffer.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCustomXPathNSResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;PageConsoleClient.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> #include &lt;runtime/JSLock.h&gt;
</span><span class="cx"> #include &lt;wtf/Ref.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMWindowBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowBase.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -64,7 +64,7 @@
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSDOMWindowBase::s_info = { &quot;Window&quot;, &amp;JSDOMGlobalObject::s_info, 0, CREATE_METHOD_TABLE(JSDOMWindowBase) };
</span><span class="cx"> 
</span><del>-const GlobalObjectMethodTable JSDOMWindowBase::s_globalObjectMethodTable = { &amp;shouldAllowAccessFrom, &amp;supportsLegacyProfiling, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, &amp;queueTaskToEventLoop, &amp;shouldInterruptScriptBeforeTimeout, &amp;moduleLoaderResolve, &amp;moduleLoaderFetch, nullptr, nullptr, &amp;moduleLoaderEvaluate, &amp;defaultLanguage };
</del><ins>+const GlobalObjectMethodTable JSDOMWindowBase::s_globalObjectMethodTable = { &amp;shouldAllowAccessFrom, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, &amp;queueTaskToEventLoop, &amp;shouldInterruptScriptBeforeTimeout, &amp;moduleLoaderResolve, &amp;moduleLoaderFetch, nullptr, nullptr, &amp;moduleLoaderEvaluate, &amp;defaultLanguage };
</ins><span class="cx"> 
</span><span class="cx"> JSDOMWindowBase::JSDOMWindowBase(VM&amp; vm, Structure* structure, PassRefPtr&lt;DOMWindow&gt; window, JSDOMWindowShell* shell)
</span><span class="cx">     : JSDOMGlobalObject(vm, structure, &amp;shell-&gt;world(), &amp;s_globalObjectMethodTable)
</span><span class="lines">@@ -125,20 +125,6 @@
</span><span class="cx">     printErrorMessageForFrame(wrapped().frame(), message);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSDOMWindowBase::supportsLegacyProfiling(const JSGlobalObject* object)
-{
-    const JSDOMWindowBase* thisObject = static_cast&lt;const JSDOMWindowBase*&gt;(object);
-    Frame* frame = thisObject-&gt;wrapped().frame();
-    if (!frame)
-        return false;
-
-    Page* page = frame-&gt;page();
-    if (!page)
-        return false;
-
-    return page-&gt;inspectorController().legacyProfilerEnabled();
-}
-
</del><span class="cx"> bool JSDOMWindowBase::supportsRichSourceInfo(const JSGlobalObject* object)
</span><span class="cx"> {
</span><span class="cx">     const JSDOMWindowBase* thisObject = static_cast&lt;const JSDOMWindowBase*&gt;(object);
</span><span class="lines">@@ -152,7 +138,6 @@
</span><span class="cx"> 
</span><span class="cx">     bool enabled = page-&gt;inspectorController().enabled();
</span><span class="cx">     ASSERT(enabled || !thisObject-&gt;debugger());
</span><del>-    ASSERT(enabled || !supportsLegacyProfiling(thisObject));
</del><span class="cx">     return enabled;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMWindowBaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMWindowBase.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMWindowBase.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/JSDOMWindowBase.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -60,7 +60,6 @@
</span><span class="cx"> 
</span><span class="cx">         static const JSC::GlobalObjectMethodTable s_globalObjectMethodTable;
</span><span class="cx"> 
</span><del>-        static bool supportsLegacyProfiling(const JSC::JSGlobalObject*);
</del><span class="cx">         static bool supportsRichSourceInfo(const JSC::JSGlobalObject*);
</span><span class="cx">         static bool shouldInterruptScript(const JSC::JSGlobalObject*);
</span><span class="cx">         static bool shouldInterruptScriptBeforeTimeout(const JSC::JSGlobalObject*);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSWorkerGlobalScopeBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSWorkerGlobalScopeBase::s_info = { &quot;WorkerGlobalScope&quot;, &amp;JSDOMGlobalObject::s_info, 0, CREATE_METHOD_TABLE(JSWorkerGlobalScopeBase) };
</span><span class="cx"> 
</span><del>-const GlobalObjectMethodTable JSWorkerGlobalScopeBase::s_globalObjectMethodTable = { &amp;allowsAccessFrom, &amp;supportsLegacyProfiling, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, &amp;queueTaskToEventLoop, &amp;shouldInterruptScriptBeforeTimeout, nullptr, nullptr, nullptr, nullptr, nullptr, &amp;defaultLanguage };
</del><ins>+const GlobalObjectMethodTable JSWorkerGlobalScopeBase::s_globalObjectMethodTable = { &amp;allowsAccessFrom, &amp;supportsRichSourceInfo, &amp;shouldInterruptScript, &amp;javaScriptRuntimeFlags, &amp;queueTaskToEventLoop, &amp;shouldInterruptScriptBeforeTimeout, nullptr, nullptr, nullptr, nullptr, nullptr, &amp;defaultLanguage };
</ins><span class="cx"> 
</span><span class="cx"> JSWorkerGlobalScopeBase::JSWorkerGlobalScopeBase(JSC::VM&amp; vm, JSC::Structure* structure, PassRefPtr&lt;WorkerGlobalScope&gt; impl)
</span><span class="cx">     : JSDOMGlobalObject(vm, structure, &amp;normalWorld(vm), &amp;s_globalObjectMethodTable)
</span><span class="lines">@@ -73,11 +73,6 @@
</span><span class="cx">     return JSGlobalObject::allowsAccessFrom(object, exec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool JSWorkerGlobalScopeBase::supportsLegacyProfiling(const JSGlobalObject* object)
-{
-    return JSGlobalObject::supportsLegacyProfiling(object);
-}
-
</del><span class="cx"> bool JSWorkerGlobalScopeBase::supportsRichSourceInfo(const JSGlobalObject* object)
</span><span class="cx"> {
</span><span class="cx">     return JSGlobalObject::supportsRichSourceInfo(object);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSWorkerGlobalScopeBaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -53,7 +53,6 @@
</span><span class="cx">         static const JSC::GlobalObjectMethodTable s_globalObjectMethodTable;
</span><span class="cx"> 
</span><span class="cx">         static bool allowsAccessFrom(const JSC::JSGlobalObject*, JSC::ExecState*);
</span><del>-        static bool supportsLegacyProfiling(const JSC::JSGlobalObject*);
</del><span class="cx">         static bool supportsRichSourceInfo(const JSC::JSGlobalObject*);
</span><span class="cx">         static bool shouldInterruptScript(const JSC::JSGlobalObject*);
</span><span class="cx">         static bool shouldInterruptScriptBeforeTimeout(const JSC::JSGlobalObject*);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptCachedFrameDatacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/ScriptCachedFrameData.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -40,7 +40,6 @@
</span><span class="cx"> #include &quot;PageGroup.h&quot;
</span><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &lt;heap/StrongInlines.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> #include &lt;runtime/JSLock.h&gt;
</span><span class="cx"> #include &lt;runtime/WeakGCMapInlines.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/ScriptController.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptController.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/ScriptController.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -52,7 +52,6 @@
</span><span class="cx"> #include &lt;debugger/Debugger.h&gt;
</span><span class="cx"> #include &lt;heap/StrongInlines.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> #include &lt;runtime/InitializeThreading.h&gt;
</span><span class="cx"> #include &lt;runtime/JSLock.h&gt;
</span><span class="cx"> #include &lt;wtf/Threading.h&gt;
</span><span class="lines">@@ -215,13 +214,6 @@
</span><span class="cx">         attachDebugger(windowShell, nullptr);
</span><span class="cx">         windowShell-&gt;window()-&gt;setConsoleClient(nullptr);
</span><span class="cx"> 
</span><del>-        // FIXME: We should clear console profiles for each frame as soon as the frame is destroyed.
-        // Instead of clearing all of them when the main frame is destroyed.
-        if (m_frame.isMainFrame()) {
-            if (Page* page = m_frame.page())
-                page-&gt;console().clearProfiles();
-        }
-
</del><span class="cx">         windowShell-&gt;window()-&gt;willRemoveFromWindowShell();
</span><span class="cx">         windowShell-&gt;setWindow(newDOMWindow);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptProfileh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/ScriptProfile.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptProfile.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/ScriptProfile.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010, 2014 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. 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 APPLE INC. ``AS IS'' 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 APPLE INC. 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.
- */
-
-#ifndef ScriptProfile_h
-#define ScriptProfile_h
-
-#include &lt;profiler/Profile.h&gt;
-
-namespace WebCore {
-
-typedef JSC::Profile ScriptProfile;
-
-} // namespace WebCore
-
-#endif // ScriptProfile_h
</del></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptProfileNodeh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/ScriptProfileNode.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptProfileNode.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/js/ScriptProfileNode.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. 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 APPLE INC. ``AS IS'' 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 APPLE INC. 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.
- */
-
-#ifndef ScriptProfileNode_h
-#define ScriptProfileNode_h
-
-#include &lt;profiler/ProfileNode.h&gt;
-
-namespace WebCore {
-
-typedef JSC::ProfileNode ScriptProfileNode;
-
-} // namespace WebCore
-
-#endif // ScriptProfileNode_h
</del></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -264,12 +264,6 @@
</span><span class="cx"> {
</span><span class="cx">     my $interfaceName = shift;
</span><span class="cx"> 
</span><del>-    if ($interfaceName eq &quot;ScriptProfileNode&quot;) {
-        $headerIncludes{&quot;&lt;profiler/ProfileNode.h&gt;&quot;} = 1;
-        push(@headerContent, &quot;typedef JSC::ProfileNode ScriptProfileNode;\n\n&quot;);
-        return;
-    }
-
</del><span class="cx">     # SVGAnimatedLength/Number/etc. are typedefs and should not be forward-declared as classes.
</span><span class="cx">     return if $codeGenerator-&gt;IsSVGAnimatedType($interfaceName);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -42,7 +42,6 @@
</span><span class="cx"> #include &quot;JSNode.h&quot;
</span><span class="cx"> #include &quot;JSSVGDocument.h&quot;
</span><span class="cx"> #include &quot;JSSVGPoint.h&quot;
</span><del>-#include &quot;JSScriptProfile.h&quot;
</del><span class="cx"> #include &quot;JSTestCallback.h&quot;
</span><span class="cx"> #include &quot;JSTestCallbackFunction.h&quot;
</span><span class="cx"> #include &quot;JSTestNode.h&quot;
</span><span class="lines">@@ -54,7 +53,6 @@
</span><span class="cx"> #include &quot;SVGDocument.h&quot;
</span><span class="cx"> #include &quot;SVGPoint.h&quot;
</span><span class="cx"> #include &quot;SVGStaticPropertyTearOff.h&quot;
</span><del>-#include &quot;ScriptProfile.h&quot;
</del><span class="cx"> #include &quot;SerializedScriptValue.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;TestObj.h&quot;
</span><span class="lines">@@ -597,8 +595,6 @@
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionNullableStringMethod(JSC::ExecState*);
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjConstructorFunctionNullableStringStaticMethod(JSC::ExecState*);
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionNullableStringSpecialMethod(JSC::ExecState*);
</span><del>-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithSequenceArg(JSC::ExecState*);
-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodReturningSequence(JSC::ExecState*);
</del><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithEnumArg(JSC::ExecState*);
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalEnumArg(JSC::ExecState*);
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithOptionalEnumArgAndDefaultValue(JSC::ExecState*);
</span><span class="lines">@@ -1169,8 +1165,6 @@
</span><span class="cx">     { &quot;methodWithXPathNSResolverParameter&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionMethodWithXPathNSResolverParameter), (intptr_t) (1) } },
</span><span class="cx">     { &quot;nullableStringMethod&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionNullableStringMethod), (intptr_t) (0) } },
</span><span class="cx">     { &quot;nullableStringSpecialMethod&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionNullableStringSpecialMethod), (intptr_t) (1) } },
</span><del>-    { &quot;methodWithSequenceArg&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionMethodWithSequenceArg), (intptr_t) (1) } },
-    { &quot;methodReturningSequence&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionMethodReturningSequence), (intptr_t) (1) } },
</del><span class="cx">     { &quot;methodWithEnumArg&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionMethodWithEnumArg), (intptr_t) (1) } },
</span><span class="cx">     { &quot;methodWithOptionalEnumArg&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionMethodWithOptionalEnumArg), (intptr_t) (0) } },
</span><span class="cx">     { &quot;methodWithOptionalEnumArgAndDefaultValue&quot;, JSC::Function, NoIntrinsic, { (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionMethodWithOptionalEnumArgAndDefaultValue), (intptr_t) (0) } },
</span><span class="lines">@@ -4200,40 +4194,6 @@
</span><span class="cx">     return JSValue::encode(result);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithSequenceArg(ExecState* state)
-{
-    JSValue thisValue = state-&gt;thisValue();
-    auto castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
-    if (UNLIKELY(!castedThis))
-        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodWithSequenceArg&quot;);
-    ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
-    auto&amp; impl = castedThis-&gt;wrapped();
-    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
-        return throwVMError(state, createNotEnoughArgumentsError(state));
-    auto sequenceArg = (toRefPtrNativeArray&lt;ScriptProfile, JSScriptProfile&gt;(state, state-&gt;argument(0), &amp;JSScriptProfile::toWrapped));
-    if (UNLIKELY(state-&gt;hadException()))
-        return JSValue::encode(jsUndefined());
-    impl.methodWithSequenceArg(WTFMove(sequenceArg));
-    return JSValue::encode(jsUndefined());
-}
-
-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodReturningSequence(ExecState* state)
-{
-    JSValue thisValue = state-&gt;thisValue();
-    auto castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
-    if (UNLIKELY(!castedThis))
-        return throwThisTypeError(*state, &quot;TestObj&quot;, &quot;methodReturningSequence&quot;);
-    ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
-    auto&amp; impl = castedThis-&gt;wrapped();
-    if (UNLIKELY(state-&gt;argumentCount() &lt; 1))
-        return throwVMError(state, createNotEnoughArgumentsError(state));
-    auto longArg = convert&lt;int32_t&gt;(*state, state-&gt;argument(0), NormalConversion);
-    if (UNLIKELY(state-&gt;hadException()))
-        return JSValue::encode(jsUndefined());
-    JSValue result = jsArray(state, castedThis-&gt;globalObject(), impl.methodReturningSequence(WTFMove(longArg)));
-    return JSValue::encode(result);
-}
-
</del><span class="cx"> EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionMethodWithEnumArg(ExecState* state)
</span><span class="cx"> {
</span><span class="cx">     JSValue thisValue = state-&gt;thisValue();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestTestObjidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/TestObj.idl (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/TestObj.idl        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/bindings/scripts/test/TestObj.idl        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -117,9 +117,6 @@
</span><span class="cx">     static DOMString? nullableStringStaticMethod();
</span><span class="cx">     getter DOMString? nullableStringSpecialMethod(unsigned long index);
</span><span class="cx"> 
</span><del>-    void methodWithSequenceArg(sequence&lt;ScriptProfile&gt; sequenceArg);
-    sequence&lt;ScriptProfile&gt; methodReturningSequence(long longArg);
-
</del><span class="cx">     void methodWithEnumArg(TestEnumType enumArg);
</span><span class="cx">     void methodWithOptionalEnumArg(optional TestEnumType enumArg);
</span><span class="cx">     void methodWithOptionalEnumArgAndDefaultValue(optional TestEnumType enumArg = &quot;EnumValue1&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/css/CSSParser.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -100,7 +100,6 @@
</span><span class="cx"> #include &quot;WebKitCSSFilterValue.h&quot;
</span><span class="cx"> #include &quot;WebKitCSSRegionRule.h&quot;
</span><span class="cx"> #include &quot;WebKitCSSTransformValue.h&quot;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;bitset&gt;
</span><span class="cx"> #include &lt;limits.h&gt;
</span><span class="cx"> #include &lt;wtf/HexNumber.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/dom/Document.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -183,7 +183,6 @@
</span><span class="cx"> #include &quot;XPathNSResolver.h&quot;
</span><span class="cx"> #include &quot;XPathResult.h&quot;
</span><span class="cx"> #include &quot;htmlediting.h&quot;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;ctime&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorConsoleInstrumentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #define InspectorConsoleInstrumentation_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><del>-#include &quot;ScriptProfile.h&quot;
</del><span class="cx"> #include &lt;inspector/ScriptArguments.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -85,9 +84,9 @@
</span><span class="cx">     startProfilingImpl(instrumentingAgentsForPage(page), exec, title);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline RefPtr&lt;JSC::Profile&gt; InspectorInstrumentation::stopProfiling(Page&amp; page, JSC::ExecState* exec, const String &amp;title)
</del><ins>+inline void InspectorInstrumentation::stopProfiling(Page&amp; page, JSC::ExecState* exec, const String &amp;title)
</ins><span class="cx"> {
</span><del>-    return stopProfilingImpl(instrumentingAgentsForPage(page), exec, title);
</del><ins>+    stopProfilingImpl(instrumentingAgentsForPage(page), exec, title);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorController.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorController.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorController.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -72,7 +72,6 @@
</span><span class="cx"> #include &lt;inspector/agents/InspectorAgent.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorHeapAgent.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorScriptProfilerAgent.h&gt;
</span><del>-#include &lt;profiler/LegacyProfiler.h&gt;
</del><span class="cx"> #include &lt;runtime/JSLock.h&gt;
</span><span class="cx"> #include &lt;wtf/Stopwatch.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -171,14 +170,11 @@
</span><span class="cx">     m_instrumentingAgents-&gt;setWebConsoleAgent(consoleAgentPtr.get());
</span><span class="cx">     m_agents.append(WTFMove(consoleAgentPtr));
</span><span class="cx"> 
</span><del>-    auto timelineAgentPtr = std::make_unique&lt;InspectorTimelineAgent&gt;(pageContext, scriptProfilerAgent, heapAgent, pageAgent);
-    m_timelineAgent = timelineAgentPtr.get();
-    m_agents.append(WTFMove(timelineAgentPtr));
-
</del><span class="cx">     auto debuggerAgentPtr = std::make_unique&lt;PageDebuggerAgent&gt;(pageContext, pageAgent, m_overlay.get());
</span><span class="cx">     PageDebuggerAgent* debuggerAgent = debuggerAgentPtr.get();
</span><span class="cx">     m_agents.append(WTFMove(debuggerAgentPtr));
</span><span class="cx"> 
</span><ins>+    m_agents.append(std::make_unique&lt;InspectorTimelineAgent&gt;(pageContext, scriptProfilerAgent, heapAgent, pageAgent));
</ins><span class="cx">     m_agents.append(std::make_unique&lt;InspectorDOMDebuggerAgent&gt;(pageContext, m_domAgent, debuggerAgent));
</span><span class="cx">     m_agents.append(std::make_unique&lt;InspectorApplicationCacheAgent&gt;(pageContext, pageAgent));
</span><span class="cx">     m_agents.append(std::make_unique&lt;InspectorLayerTreeAgent&gt;(pageContext));
</span><span class="lines">@@ -414,27 +410,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-bool InspectorController::legacyProfilerEnabled() const
-{
-    return m_legacyProfilerEnabled;
-}
-
-void InspectorController::setLegacyProfilerEnabled(bool enable)
-{
-    m_legacyProfilerEnabled = enable;
-
-    ErrorString unused;
-    if (enable) {
-        m_instrumentingAgents-&gt;setPersistentInspectorTimelineAgent(m_timelineAgent);
-        m_scriptDebugServer.recompileAllJSFunctions();
-        m_timelineAgent-&gt;start(unused);
-    } else {
-        m_instrumentingAgents-&gt;setPersistentInspectorTimelineAgent(nullptr);
-        m_scriptDebugServer.recompileAllJSFunctions();
-        m_timelineAgent-&gt;stop(unused);
-    }
-}
-
</del><span class="cx"> bool InspectorController::developerExtrasEnabled() const
</span><span class="cx"> {
</span><span class="cx">     return m_page.settings().developerExtrasEnabled();
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorController.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorController.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorController.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -63,7 +63,6 @@
</span><span class="cx"> class InspectorFrontendClient;
</span><span class="cx"> class InspectorInstrumentation;
</span><span class="cx"> class InspectorPageAgent;
</span><del>-class InspectorTimelineAgent;
</del><span class="cx"> class InstrumentingAgents;
</span><span class="cx"> class Node;
</span><span class="cx"> class Page;
</span><span class="lines">@@ -111,9 +110,6 @@
</span><span class="cx">     void setIsUnderTest(bool isUnderTest) { m_isUnderTest = isUnderTest; }
</span><span class="cx">     WEBCORE_EXPORT void evaluateForTestInFrontend(const String&amp; script);
</span><span class="cx"> 
</span><del>-    WEBCORE_EXPORT bool legacyProfilerEnabled() const;
-    WEBCORE_EXPORT void setLegacyProfilerEnabled(bool);
-
</del><span class="cx">     InspectorClient* inspectorClient() const { return m_inspectorClient; }
</span><span class="cx">     InspectorFrontendClient* inspectorFrontendClient() const { return m_inspectorFrontendClient; }
</span><span class="cx">     InspectorPageAgent* pageAgent() const { return m_pageAgent; }
</span><span class="lines">@@ -148,11 +144,9 @@
</span><span class="cx">     Inspector::InspectorAgent* m_inspectorAgent { nullptr };
</span><span class="cx">     InspectorDOMAgent* m_domAgent { nullptr };
</span><span class="cx">     InspectorPageAgent* m_pageAgent { nullptr };
</span><del>-    InspectorTimelineAgent* m_timelineAgent { nullptr };
</del><span class="cx"> 
</span><span class="cx">     bool m_isUnderTest { false };
</span><span class="cx">     bool m_isAutomaticInspection { false };
</span><del>-    bool m_legacyProfilerEnabled { false };
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorInstrumentationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -67,7 +67,6 @@
</span><span class="cx"> #include &lt;inspector/ScriptArguments.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorDebuggerAgent.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> #include &lt;runtime/ConsoleTypes.h&gt;
</span><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="lines">@@ -894,11 +893,10 @@
</span><span class="cx">         timelineAgent-&gt;startFromConsole(exec, title);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-RefPtr&lt;JSC::Profile&gt; InspectorInstrumentation::stopProfilingImpl(InstrumentingAgents&amp; instrumentingAgents, JSC::ExecState* exec, const String&amp; title)
</del><ins>+void InspectorInstrumentation::stopProfilingImpl(InstrumentingAgents&amp; instrumentingAgents, JSC::ExecState* exec, const String&amp; title)
</ins><span class="cx"> {
</span><span class="cx">     if (InspectorTimelineAgent* timelineAgent = instrumentingAgents.persistentInspectorTimelineAgent())
</span><del>-        return timelineAgent-&gt;stopFromConsole(exec, title);
-    return nullptr;
</del><ins>+        timelineAgent-&gt;stopFromConsole(exec, title);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::didOpenDatabaseImpl(InstrumentingAgents&amp; instrumentingAgents, RefPtr&lt;Database&gt;&amp;&amp; database, const String&amp; domain, const String&amp; name, const String&amp; version)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorInstrumentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorInstrumentation.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -61,10 +61,6 @@
</span><span class="cx"> class ScriptCallStack;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-namespace JSC {
-class Profile;
-}
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class CSSRule;
</span><span class="lines">@@ -218,7 +214,7 @@
</span><span class="cx">     static void didFireAnimationFrame(const InspectorInstrumentationCookie&amp;);
</span><span class="cx"> 
</span><span class="cx">     static void startProfiling(Page&amp;, JSC::ExecState*, const String&amp; title);
</span><del>-    static RefPtr&lt;JSC::Profile&gt; stopProfiling(Page&amp;, JSC::ExecState*, const String&amp; title);
</del><ins>+    static void stopProfiling(Page&amp;, JSC::ExecState*, const String&amp; title);
</ins><span class="cx"> 
</span><span class="cx">     static void didOpenDatabase(ScriptExecutionContext*, RefPtr&lt;Database&gt;&amp;&amp;, const String&amp; domain, const String&amp; name, const String&amp; version);
</span><span class="cx"> 
</span><span class="lines">@@ -387,7 +383,7 @@
</span><span class="cx">     static void didFireAnimationFrameImpl(const InspectorInstrumentationCookie&amp;);
</span><span class="cx"> 
</span><span class="cx">     static void startProfilingImpl(InstrumentingAgents&amp;, JSC::ExecState*, const String&amp; title);
</span><del>-    static RefPtr&lt;JSC::Profile&gt; stopProfilingImpl(InstrumentingAgents&amp;, JSC::ExecState*, const String&amp; title);
</del><ins>+    static void stopProfilingImpl(InstrumentingAgents&amp;, JSC::ExecState*, const String&amp; title);
</ins><span class="cx"> 
</span><span class="cx">     static void didOpenDatabaseImpl(InstrumentingAgents&amp;, RefPtr&lt;Database&gt;&amp;&amp;, const String&amp; domain, const String&amp; name, const String&amp; version);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorTimelineAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -47,7 +47,6 @@
</span><span class="cx"> #include &lt;inspector/agents/InspectorDebuggerAgent.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorHeapAgent.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorScriptProfilerAgent.h&gt;
</span><del>-#include &lt;profiler/LegacyProfiler.h&gt;
</del><span class="cx"> #include &lt;wtf/Stopwatch.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="lines">@@ -242,58 +241,14 @@
</span><span class="cx">     return m_environment.executionStopwatch()-&gt;elapsedTime();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void InspectorTimelineAgent::startFromConsole(JSC::ExecState* exec, const String &amp;title)
</del><ins>+void InspectorTimelineAgent::startFromConsole(JSC::ExecState*, const String&amp;)
</ins><span class="cx"> {
</span><span class="cx">     // FIXME: &lt;https://webkit.org/b/153499&gt; Web Inspector: console.profile should use the new Sampling Profiler
</span><del>-
-    // Only allow recording of a profile if it is anonymous (empty title) or does not match
-    // the title of an already recording profile.
-    if (!title.isEmpty()) {
-        for (const TimelineRecordEntry&amp; record : m_pendingConsoleProfileRecords) {
-            String recordTitle;
-            record.data-&gt;getString(ASCIILiteral(&quot;title&quot;), recordTitle);
-            if (recordTitle == title)
-                return;
-        }
-    }
-
-    if (!m_enabled &amp;&amp; m_pendingConsoleProfileRecords.isEmpty())
-        internalStart();
-
-    JSC::LegacyProfiler::profiler()-&gt;startProfiling(exec, title, m_environment.executionStopwatch());
-
-    m_pendingConsoleProfileRecords.append(createRecordEntry(TimelineRecordFactory::createConsoleProfileData(title), TimelineRecordType::ConsoleProfile, true, frameFromExecState(exec)));
</del><span class="cx"> }
</span><span class="cx"> 
</span><del>-RefPtr&lt;JSC::Profile&gt; InspectorTimelineAgent::stopFromConsole(JSC::ExecState* exec, const String&amp; title)
</del><ins>+void InspectorTimelineAgent::stopFromConsole(JSC::ExecState*, const String&amp;)
</ins><span class="cx"> {
</span><span class="cx">     // FIXME: &lt;https://webkit.org/b/153499&gt; Web Inspector: console.profile should use the new Sampling Profiler
</span><del>-
-    // Stop profiles in reverse order. If the title is empty, then stop the last profile.
-    // Otherwise, match the title of the profile to stop.
-    for (ptrdiff_t i = m_pendingConsoleProfileRecords.size() - 1; i &gt;= 0; --i) {
-        const TimelineRecordEntry&amp; record = m_pendingConsoleProfileRecords[i];
-
-        String recordTitle;
-        record.data-&gt;getString(ASCIILiteral(&quot;title&quot;), recordTitle);
-
-        if (title.isEmpty() || recordTitle == title) {
-            RefPtr&lt;JSC::Profile&gt; profile = JSC::LegacyProfiler::profiler()-&gt;stopProfiling(exec, title);
-            if (profile)
-                TimelineRecordFactory::appendProfile(record.data.get(), profile.copyRef());
-
-            didCompleteRecordEntry(record);
-
-            m_pendingConsoleProfileRecords.remove(i);
-
-            if (!m_enabledFromFrontend &amp;&amp; m_pendingConsoleProfileRecords.isEmpty())
-                internalStop();
-
-            return profile;
-        }
-    }
-
-    return nullptr;
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorTimelineAgent::willCallFunction(const String&amp; scriptName, int scriptLine, Frame* frame)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorTimelineAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorTimelineAgent.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorTimelineAgent.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/InspectorTimelineAgent.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -41,10 +41,6 @@
</span><span class="cx"> #include &lt;inspector/ScriptDebugListener.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> 
</span><del>-namespace JSC {
-class Profile;
-}
-
</del><span class="cx"> namespace Inspector {
</span><span class="cx"> class InspectorHeapAgent;
</span><span class="cx"> class InspectorScriptProfilerAgent;
</span><span class="lines">@@ -113,8 +109,8 @@
</span><span class="cx">     void didCommitLoad();
</span><span class="cx"> 
</span><span class="cx">     // Methods called from WebCore.
</span><del>-    void startFromConsole(JSC::ExecState*, const String &amp;title);
-    RefPtr&lt;JSC::Profile&gt; stopFromConsole(JSC::ExecState*, const String&amp; title);
</del><ins>+    void startFromConsole(JSC::ExecState*, const String&amp; title);
+    void stopFromConsole(JSC::ExecState*, const String&amp; title);
</ins><span class="cx"> 
</span><span class="cx">     // InspectorInstrumentation callbacks.
</span><span class="cx">     void didInstallTimer(int timerId, std::chrono::milliseconds timeout, bool singleShot, Frame*);
</span><span class="lines">@@ -204,11 +200,10 @@
</span><span class="cx">     InspectorPageAgent* m_pageAgent;
</span><span class="cx"> 
</span><span class="cx">     Vector&lt;TimelineRecordEntry&gt; m_recordStack;
</span><ins>+
</ins><span class="cx">     int m_id { 1 };
</span><span class="cx">     int m_maxCallStackDepth { 5 };
</span><span class="cx"> 
</span><del>-    Vector&lt;TimelineRecordEntry&gt; m_pendingConsoleProfileRecords;
-
</del><span class="cx">     bool m_enabled { false };
</span><span class="cx">     bool m_enabledFromFrontend { false };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageDebuggerAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -45,7 +45,6 @@
</span><span class="cx"> #include &lt;inspector/InjectedScriptManager.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStackFactory.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> #include &lt;wtf/NeverDestroyed.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace Inspector;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageRuntimeAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageRuntimeAgent.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageRuntimeAgent.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/PageRuntimeAgent.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -45,7 +45,6 @@
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &lt;inspector/InjectedScript.h&gt;
</span><span class="cx"> #include &lt;inspector/InjectedScriptManager.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> 
</span><span class="cx"> using Inspector::Protocol::Runtime::ExecutionContextDescription;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptProfileidl"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptProfile.idl (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptProfile.idl        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/ScriptProfile.idl        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. 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 APPLE INC. ``AS IS'' 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 APPLE INC. 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.
- */
-
-[
-    NoInterfaceObject,
-    SkipVTableValidation,
-    ExportMacro=WEBCORE_EXPORT,
-] interface ScriptProfile {
-    readonly attribute DOMString title;
-    readonly attribute unsigned long uid;
-    readonly attribute ScriptProfileNode rootNode;
-};
-
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptProfileNodeidl"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptProfileNode.idl (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptProfileNode.idl        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/ScriptProfileNode.idl        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Apple Inc. All rights reserved.
- * Copyright (C) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. 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 APPLE INC. ``AS IS'' 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 APPLE INC. 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.
- */
-
-[
-    NoInterfaceObject,
-    ImplementationLacksVTable,
-    ExportMacro=WEBCORE_EXPORT,
-] interface ScriptProfileNode {
-    readonly attribute unsigned long id;
-
-    readonly attribute DOMString functionName;
-
-    readonly attribute DOMString url;
-    readonly attribute unsigned long lineNumber;
-    readonly attribute unsigned long columnNumber;
-
-    sequence&lt;ScriptProfileNode&gt; children();
-};
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorTimelineRecordFactorycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -39,7 +39,6 @@
</span><span class="cx"> #include &lt;inspector/ScriptBreakpoint.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStackFactory.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> 
</span><span class="cx"> using namespace Inspector;
</span><span class="cx"> 
</span><span class="lines">@@ -152,63 +151,4 @@
</span><span class="cx">     data-&gt;setArray(ASCIILiteral(&quot;root&quot;), createQuad(quad));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static Ref&lt;Protocol::Timeline::CPUProfileNodeAggregateCallInfo&gt; buildAggregateCallInfoInspectorObject(const JSC::ProfileNode* node)
-{
-    double startTime = node-&gt;calls()[0].startTime();
-    double endTime = node-&gt;calls().last().startTime() + node-&gt;calls().last().elapsedTime();
-
-    double totalTime = 0;
-    for (const JSC::ProfileNode::Call&amp; call : node-&gt;calls())
-        totalTime += call.elapsedTime();
-
-    return Protocol::Timeline::CPUProfileNodeAggregateCallInfo::create()
-        .setCallCount(node-&gt;calls().size())
-        .setStartTime(startTime)
-        .setEndTime(endTime)
-        .setTotalTime(totalTime)
-        .release();
-}
-
-static Ref&lt;Protocol::Timeline::CPUProfileNode&gt; buildInspectorObject(const JSC::ProfileNode* node)
-{
-    auto result = Protocol::Timeline::CPUProfileNode::create()
-        .setId(node-&gt;id())
-        .setCallInfo(buildAggregateCallInfoInspectorObject(node))
-        .release();
-
-    if (!node-&gt;functionName().isEmpty())
-        result-&gt;setFunctionName(node-&gt;functionName());
-
-    if (!node-&gt;url().isEmpty()) {
-        result-&gt;setUrl(node-&gt;url());
-        result-&gt;setLineNumber(node-&gt;lineNumber());
-        result-&gt;setColumnNumber(node-&gt;columnNumber());
-    }
-
-    if (!node-&gt;children().isEmpty()) {
-        auto children = Protocol::Array&lt;Protocol::Timeline::CPUProfileNode&gt;::create();
-        for (RefPtr&lt;JSC::ProfileNode&gt; profileNode : node-&gt;children())
-            children-&gt;addItem(buildInspectorObject(profileNode.get()));
-        result-&gt;setChildren(WTFMove(children));
-    }
-
-    return result;
-}
-
-static Ref&lt;Protocol::Timeline::CPUProfile&gt; buildProfileInspectorObject(const JSC::Profile* profile)
-{
-    auto rootNodes = Protocol::Array&lt;Protocol::Timeline::CPUProfileNode&gt;::create();
-    for (RefPtr&lt;JSC::ProfileNode&gt; profileNode : profile-&gt;rootNode()-&gt;children())
-        rootNodes-&gt;addItem(buildInspectorObject(profileNode.get()));
-
-    return Protocol::Timeline::CPUProfile::create()
-        .setRootNodes(WTFMove(rootNodes))
-        .release();
-}
-
-void TimelineRecordFactory::appendProfile(InspectorObject* data, RefPtr&lt;JSC::Profile&gt;&amp;&amp; profile)
-{
-    data-&gt;setValue(ASCIILiteral(&quot;profile&quot;), buildProfileInspectorObject(profile.get()));
-}
-
</del><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorTimelineRecordFactoryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/TimelineRecordFactory.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/TimelineRecordFactory.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/inspector/TimelineRecordFactory.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -36,10 +36,6 @@
</span><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><del>-namespace JSC {
-class Profile;
-}
-
</del><span class="cx"> namespace Inspector {
</span><span class="cx"> struct ScriptBreakpointAction;
</span><span class="cx"> }
</span><span class="lines">@@ -65,7 +61,6 @@
</span><span class="cx">     static Ref&lt;Inspector::InspectorObject&gt; createPaintData(const FloatQuad&amp;);
</span><span class="cx"> 
</span><span class="cx">     static void appendLayoutRoot(Inspector::InspectorObject* data, const FloatQuad&amp;);
</span><del>-    static void appendProfile(Inspector::InspectorObject*, RefPtr&lt;JSC::Profile&gt;&amp;&amp;);
</del><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     TimelineRecordFactory() { }
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/page/DOMWindow.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -101,7 +101,6 @@
</span><span class="cx"> #include &quot;WebKitPoint.h&quot;
</span><span class="cx"> #include &quot;WindowFeatures.h&quot;
</span><span class="cx"> #include &quot;WindowFocusAllowedIndicator.h&quot;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;algorithm&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><span class="cx"> #include &lt;inspector/ScriptCallStackFactory.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Page.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Page.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/page/Page.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -96,7 +96,6 @@
</span><span class="cx"> #include &quot;VisitedLinkStore.h&quot;
</span><span class="cx"> #include &quot;VoidCallback.h&quot;
</span><span class="cx"> #include &quot;Widget.h&quot;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;wtf/HashMap.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCountedLeakCounter.h&gt;
</span><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageConsoleClientcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageConsoleClient.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageConsoleClient.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/page/PageConsoleClient.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -191,8 +191,7 @@
</span><span class="cx"> void PageConsoleClient::profileEnd(JSC::ExecState* exec, const String&amp; title)
</span><span class="cx"> {
</span><span class="cx">     // FIXME: &lt;https://webkit.org/b/153499&gt; Web Inspector: console.profile should use the new Sampling Profiler
</span><del>-    if (RefPtr&lt;JSC::Profile&gt; profile = InspectorInstrumentation::stopProfiling(m_page, exec, title))
-        m_profiles.append(WTFMove(profile));
</del><ins>+    InspectorInstrumentation::stopProfiling(m_page, exec, title);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void PageConsoleClient::takeHeapSnapshot(JSC::ExecState*, const String&amp; title)
</span><span class="lines">@@ -216,9 +215,4 @@
</span><span class="cx">     InspectorInstrumentation::consoleTimeStamp(m_page.mainFrame(), WTFMove(arguments));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PageConsoleClient::clearProfiles()
-{
-    m_profiles.clear();
-}
-
</del><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageConsoleClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageConsoleClient.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageConsoleClient.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/page/PageConsoleClient.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #define PageConsoleClient_h
</span><span class="cx"> 
</span><span class="cx"> #include &lt;inspector/ScriptCallStack.h&gt;
</span><del>-#include &lt;profiler/Profile.h&gt;
</del><span class="cx"> #include &lt;runtime/ConsoleClient.h&gt;
</span><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -43,8 +42,6 @@
</span><span class="cx"> class Document;
</span><span class="cx"> class Page;
</span><span class="cx"> 
</span><del>-typedef Vector&lt;RefPtr&lt;JSC::Profile&gt;&gt; ProfilesArray;
-
</del><span class="cx"> class WEBCORE_EXPORT PageConsoleClient final : public JSC::ConsoleClient {
</span><span class="cx">     WTF_MAKE_FAST_ALLOCATED;
</span><span class="cx"> public:
</span><span class="lines">@@ -61,9 +58,6 @@
</span><span class="cx">     void addMessage(MessageSource, MessageLevel, const String&amp; message, RefPtr&lt;Inspector::ScriptCallStack&gt;&amp;&amp;);
</span><span class="cx">     void addMessage(MessageSource, MessageLevel, const String&amp; message, unsigned long requestIdentifier = 0, Document* = nullptr);
</span><span class="cx"> 
</span><del>-    const ProfilesArray&amp; profiles() const { return m_profiles; }
-    void clearProfiles();
-
</del><span class="cx"> protected:
</span><span class="cx">     void messageWithTypeAndLevel(MessageType, MessageLevel, JSC::ExecState*, RefPtr&lt;Inspector::ScriptArguments&gt;&amp;&amp;) override;
</span><span class="cx">     void count(JSC::ExecState*, RefPtr&lt;Inspector::ScriptArguments&gt;&amp;&amp;) override;
</span><span class="lines">@@ -76,7 +70,6 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     Page&amp; m_page;
</span><del>-    ProfilesArray m_profiles;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/testing/Internals.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -125,7 +125,6 @@
</span><span class="cx"> #include &quot;WebCoreJSClientData.h&quot;
</span><span class="cx"> #include &quot;WorkerThread.h&quot;
</span><span class="cx"> #include &quot;XMLHttpRequest.h&quot;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;bytecode/CodeBlock.h&gt;
</span><span class="cx"> #include &lt;inspector/InspectorAgentBase.h&gt;
</span><span class="cx"> #include &lt;inspector/InspectorFrontendChannel.h&gt;
</span><span class="lines">@@ -389,7 +388,6 @@
</span><span class="cx">     WebCore::overrideUserPreferredLanguages(Vector&lt;String&gt;());
</span><span class="cx">     WebCore::Settings::setUsesOverlayScrollbars(false);
</span><span class="cx">     WebCore::Settings::setUsesMockScrollAnimator(false);
</span><del>-    page.inspectorController().setLegacyProfilerEnabled(false);
</del><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><span class="cx">     page.group().captionPreferences().setCaptionsStyleSheetOverride(emptyString());
</span><span class="cx">     page.group().captionPreferences().setTestingMode(false);
</span><span class="lines">@@ -1734,11 +1732,6 @@
</span><span class="cx">     return document-&gt;frame()-&gt;editor().countMatchesForText(text, nullptr, findOptions, 1000, mark, nullptr);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-const ProfilesArray&amp; Internals::consoleProfiles() const
-{
-    return contextDocument()-&gt;page()-&gt;console().profiles();
-}
-
</del><span class="cx"> unsigned Internals::numberOfLiveNodes() const
</span><span class="cx"> {
</span><span class="cx">     unsigned nodeCount = 0;
</span><span class="lines">@@ -1767,17 +1760,6 @@
</span><span class="cx">     m_inspectorFrontend = nullptr;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void Internals::setLegacyJavaScriptProfilingEnabled(bool enabled, ExceptionCode&amp; ec)
-{
-    Page* page = contextDocument()-&gt;frame()-&gt;page();
-    if (!page) {
-        ec = INVALID_ACCESS_ERR;
-        return;
-    }
-
-    page-&gt;inspectorController().setLegacyProfilerEnabled(enabled);
-}
-
</del><span class="cx"> void Internals::setInspectorIsUnderTest(bool isUnderTest, ExceptionCode&amp; ec)
</span><span class="cx"> {
</span><span class="cx">     Page* page = contextDocument()-&gt;frame()-&gt;page();
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/testing/Internals.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -267,14 +267,11 @@
</span><span class="cx">     void insertAuthorCSS(const String&amp;, ExceptionCode&amp;) const;
</span><span class="cx">     void insertUserCSS(const String&amp;, ExceptionCode&amp;) const;
</span><span class="cx"> 
</span><del>-    const ProfilesArray&amp; consoleProfiles() const;
-
</del><span class="cx">     unsigned numberOfLiveNodes() const;
</span><span class="cx">     unsigned numberOfLiveDocuments() const;
</span><span class="cx"> 
</span><span class="cx">     RefPtr&lt;DOMWindow&gt; openDummyInspectorFrontend(const String&amp; url);
</span><span class="cx">     void closeDummyInspectorFrontend();
</span><del>-    void setLegacyJavaScriptProfilingEnabled(bool enabled, ExceptionCode&amp;);
</del><span class="cx">     void setInspectorIsUnderTest(bool isUnderTest, ExceptionCode&amp;);
</span><span class="cx"> 
</span><span class="cx">     String counterValue(Element&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.idl (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.idl        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebCore/testing/Internals.idl        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -260,16 +260,10 @@
</span><span class="cx">     [RaisesException] void setDeviceProximity(DOMString eventType, unrestricted double value, unrestricted double min, unrestricted double max);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    // As per spec: http://www.w3.org/TR/WebIDL/#idl-sequence
-    // &quot;Sequences must not be used as the type of an attribute, constant or exception field.&quot;
-    // FIXME: this will lead to BUG internals.consoleProfiles !== internals.consoleProfiles as profile will always returns new array.
-    readonly attribute ScriptProfile[] consoleProfiles;
-
</del><span class="cx">     unsigned long numberOfLiveNodes();
</span><span class="cx">     unsigned long numberOfLiveDocuments();
</span><span class="cx">     DOMWindow openDummyInspectorFrontend(DOMString url);
</span><span class="cx">     void closeDummyInspectorFrontend();
</span><del>-    [RaisesException] void setLegacyJavaScriptProfilingEnabled(boolean enabled);
</del><span class="cx">     [RaisesException] void setInspectorIsUnderTest(boolean isUnderTest);
</span><span class="cx"> 
</span><span class="cx">     DOMString counterValue(Element element);
</span></span></pre></div>
<a id="trunkSourceWebKitwinChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/ChangeLog (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/ChangeLog        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebKit/win/ChangeLog        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2016-05-20  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Remove LegacyProfiler
+        https://bugs.webkit.org/show_bug.cgi?id=153565
+
+        Reviewed by Saam Barati.
+
+        * Interfaces/IWebInspector.idl:
+        * WebCoreStatistics.cpp:
+        * WebInspector.cpp:
+        (WebInspector::isJavaScriptProfilingEnabled): Deleted.
+        (WebInspector::setJavaScriptProfilingEnabled): Deleted.
+        * WebInspector.h:
+        * WebView.cpp:
+
</ins><span class="cx"> 2016-05-16  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed rollout r200924. Caused js/regress/string-replace-generic.html to fail.
</span></span></pre></div>
<a id="trunkSourceWebKitwinInterfacesIWebInspectoridl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/Interfaces/IWebInspector.idl (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/Interfaces/IWebInspector.idl        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebKit/win/Interfaces/IWebInspector.idl        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -52,9 +52,6 @@
</span><span class="cx">     HRESULT isProfilingJavaScript(BOOL* isProfiling);
</span><span class="cx">     HRESULT toggleProfilingJavaScript();
</span><span class="cx"> 
</span><del>-    HRESULT isJavaScriptProfilingEnabled(BOOL* isProfilingEnabled);
-    HRESULT setJavaScriptProfilingEnabled(BOOL enabled);
-
</del><span class="cx">     HRESULT isTimelineProfilingEnabled(BOOL* isEnabled);
</span><span class="cx">     HRESULT setTimelineProfilingEnabled(BOOL enabled);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebCoreStatisticscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebCoreStatistics.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebCoreStatistics.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebKit/win/WebCoreStatistics.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #include &quot;COMPropertyBag.h&quot;
</span><span class="cx"> #include &lt;JavaScriptCore/JSLock.h&gt;
</span><span class="cx"> #include &lt;JavaScriptCore/MemoryStatistics.h&gt;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;WebCore/DOMWindow.h&gt;
</span><span class="cx"> #include &lt;WebCore/FontCache.h&gt;
</span><span class="cx"> #include &lt;WebCore/GCController.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebInspectorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebInspector.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebInspector.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebKit/win/WebInspector.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -202,38 +202,6 @@
</span><span class="cx">     return S_OK;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-HRESULT WebInspector::isJavaScriptProfilingEnabled(_Out_ BOOL* isProfilingEnabled)
-{
-    if (!isProfilingEnabled)
-        return E_POINTER;
-
-    *isProfilingEnabled = FALSE;
-
-    if (!m_inspectedWebView)
-        return S_OK;
-
-    Page* inspectedPage = m_inspectedWebView-&gt;page();
-    if (!inspectedPage)
-        return S_OK;
-
-    *isProfilingEnabled = inspectedPage-&gt;inspectorController().legacyProfilerEnabled();
-    return S_OK;
-}
-
-HRESULT WebInspector::setJavaScriptProfilingEnabled(BOOL enabled)
-{
-    if (!m_inspectedWebView)
-        return S_OK;
-
-    Page* inspectedPage = m_inspectedWebView-&gt;page();
-    if (!inspectedPage)
-        return S_OK;
-
-    inspectedPage-&gt;inspectorController().setLegacyProfilerEnabled(enabled);
-
-    return S_OK;
-}
-
</del><span class="cx"> HRESULT WebInspector::evaluateInFrontend(_In_ BSTR bScript)
</span><span class="cx"> {
</span><span class="cx">     if (!m_inspectedWebView)
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebInspectorh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebInspector.h (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebInspector.h        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebKit/win/WebInspector.h        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -60,9 +60,6 @@
</span><span class="cx">     virtual HRESULT STDMETHODCALLTYPE isProfilingJavaScript(_Out_ BOOL*);
</span><span class="cx">     virtual HRESULT STDMETHODCALLTYPE toggleProfilingJavaScript();
</span><span class="cx"> 
</span><del>-    virtual HRESULT STDMETHODCALLTYPE isJavaScriptProfilingEnabled(_Out_ BOOL*);
-    virtual HRESULT STDMETHODCALLTYPE setJavaScriptProfilingEnabled(BOOL);
-
</del><span class="cx">     virtual HRESULT STDMETHODCALLTYPE evaluateInFrontend(_In_ BSTR script);
</span><span class="cx"> 
</span><span class="cx">     virtual HRESULT STDMETHODCALLTYPE isTimelineProfilingEnabled(_Out_ BOOL*);
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebViewcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebView.cpp (201236 => 201237)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebView.cpp        2016-05-21 01:17:42 UTC (rev 201236)
+++ trunk/Source/WebKit/win/WebView.cpp        2016-05-21 02:00:42 UTC (rev 201237)
</span><span class="lines">@@ -78,7 +78,6 @@
</span><span class="cx"> #include &lt;JavaScriptCore/InitializeThreading.h&gt;
</span><span class="cx"> #include &lt;JavaScriptCore/JSCJSValue.h&gt;
</span><span class="cx"> #include &lt;JavaScriptCore/JSLock.h&gt;
</span><del>-#include &lt;JavaScriptCore/Profile.h&gt;
</del><span class="cx"> #include &lt;WebCore/AXObjectCache.h&gt;
</span><span class="cx"> #include &lt;WebCore/ApplicationCacheStorage.h&gt;
</span><span class="cx"> #include &lt;WebCore/BString.h&gt;
</span><span class="lines">@@ -121,7 +120,6 @@
</span><span class="cx"> #include &lt;WebCore/HitTestResult.h&gt;
</span><span class="cx"> #include &lt;WebCore/IntRect.h&gt;
</span><span class="cx"> #include &lt;WebCore/JSElement.h&gt;
</span><del>-#include &lt;WebCore/JSScriptProfile.h&gt;
</del><span class="cx"> #include &lt;WebCore/KeyboardEvent.h&gt;
</span><span class="cx"> #include &lt;WebCore/Logging.h&gt;
</span><span class="cx"> #include &lt;WebCore/MIMETypeRegistry.h&gt;
</span></span></pre>
</div>
</div>

</body>
</html>