<!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>[149807] trunk/Source/WebCore</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/149807">149807</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2013-05-09 08:16:58 -0700 (Thu, 09 May 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Web Inspector: Remove Memory Distribution and Memory Snapshots Panels
https://bugs.webkit.org/show_bug.cgi?id=115850

Patch by Seokju Kwon &lt;seokju.kwon@gmail.com&gt; on 2013-05-09
Reviewed by Andreas Kling.

Removed the Memory Instrumentation Code after <a href="http://trac.webkit.org/projects/webkit/changeset/148921">r148921</a>.

No new tests, no behavior change.

* inspector/compile-front-end.py:
* inspector/front-end/NativeMemorySnapshotView.js: Removed.
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel):
* inspector/front-end/Settings.js:
(WebInspector.Settings):
(WebInspector.ExperimentsSettings):
* inspector/front-end/SettingsScreen.js:
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.css:
* inspector/front-end/inspector.js:
(WebInspector._panelDescriptors):
* inspector/front-end/nativeMemoryProfiler.css: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreinspectorcompilefrontendpy">trunk/Source/WebCore/inspector/compile-front-end.py</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendProfilesPaneljs">trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendSettingsjs">trunk/Source/WebCore/inspector/front-end/Settings.js</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendSettingsScreenjs">trunk/Source/WebCore/inspector/front-end/SettingsScreen.js</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendWebKitqrc">trunk/Source/WebCore/inspector/front-end/WebKit.qrc</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendinspectorcss">trunk/Source/WebCore/inspector/front-end/inspector.css</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendinspectorjs">trunk/Source/WebCore/inspector/front-end/inspector.js</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreinspectorfrontendNativeMemorySnapshotViewjs">trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js</a></li>
<li><a href="#trunkSourceWebCoreinspectorfrontendnativeMemoryProfilercss">trunk/Source/WebCore/inspector/front-end/nativeMemoryProfiler.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/ChangeLog        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -1,3 +1,28 @@
</span><ins>+2013-05-09  Seokju Kwon  &lt;seokju.kwon@gmail.com&gt;
+
+        Web Inspector: Remove Memory Distribution and Memory Snapshots Panels
+        https://bugs.webkit.org/show_bug.cgi?id=115850
+
+        Reviewed by Andreas Kling.
+
+        Removed the Memory Instrumentation Code after r148921.
+
+        No new tests, no behavior change.
+
+        * inspector/compile-front-end.py:
+        * inspector/front-end/NativeMemorySnapshotView.js: Removed.
+        * inspector/front-end/ProfilesPanel.js:
+        (WebInspector.ProfilesPanel):
+        * inspector/front-end/Settings.js:
+        (WebInspector.Settings):
+        (WebInspector.ExperimentsSettings):
+        * inspector/front-end/SettingsScreen.js:
+        * inspector/front-end/WebKit.qrc:
+        * inspector/front-end/inspector.css:
+        * inspector/front-end/inspector.js:
+        (WebInspector._panelDescriptors):
+        * inspector/front-end/nativeMemoryProfiler.css: Removed.
+
</ins><span class="cx"> 2013-05-09  Zan Dobersek  &lt;zdobersek@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed GTK build fix after r149796.
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorcompilefrontendpy"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/compile-front-end.py (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/compile-front-end.py        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/compile-front-end.py        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -351,7 +351,6 @@
</span><span class="cx">             &quot;HeapSnapshotWorkerDispatcher.js&quot;,
</span><span class="cx">             &quot;JSHeapSnapshot.js&quot;,
</span><span class="cx">             &quot;NativeHeapSnapshot.js&quot;,
</span><del>-            &quot;NativeMemorySnapshotView.js&quot;,
</del><span class="cx">             &quot;ProfileDataGridTree.js&quot;,
</span><span class="cx">             &quot;ProfilesPanel.js&quot;,
</span><span class="cx">             &quot;ProfilesPanelDescriptor.js&quot;,
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendNativeMemorySnapshotViewjs"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -1,712 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 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:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @constructor
- * @extends {WebInspector.View}
- * @param {WebInspector.NativeMemoryProfileHeader} profile
- */
-WebInspector.NativeMemorySnapshotView = function(profile)
-{
-    WebInspector.View.call(this);
-    this.registerRequiredCSS(&quot;nativeMemoryProfiler.css&quot;);
-
-    this.element.addStyleClass(&quot;native-snapshot-view&quot;);
-    this._containmentDataGrid = new WebInspector.NativeSnapshotDataGrid(profile);
-    this._containmentDataGrid.show(this.element);
-}
-
-WebInspector.NativeMemorySnapshotView.prototype = {
-    __proto__: WebInspector.View.prototype
-}
-
-
-/**
- * @constructor
- * @extends {WebInspector.DataGrid}
- * @param {WebInspector.NativeMemoryProfileHeader} profile
- */
-WebInspector.NativeSnapshotDataGrid = function(profile)
-{
-    var columns = [
-        {id: &quot;name&quot;, title: WebInspector.UIString(&quot;Object&quot;), width: &quot;200px&quot;, disclosure: true, sortable: true},
-        {id: &quot;size&quot;, title: WebInspector.UIString(&quot;Size&quot;), sortable: true, sort: WebInspector.DataGrid.Order.Descending},
-    ];
-    WebInspector.DataGrid.call(this, columns);
-    this._profile = profile;
-    this._totalNode = new WebInspector.NativeSnapshotNode(profile._memoryBlock, profile);
-    if (WebInspector.settings.showNativeSnapshotUninstrumentedSize.get()) {
-        this.setRootNode(new WebInspector.DataGridNode(null, true));
-        this.rootNode().appendChild(this._totalNode)
-        this._totalNode.expand();
-    } else {
-        this.setRootNode(this._totalNode);
-        this._totalNode.populate();
-    }
-    this.addEventListener(WebInspector.DataGrid.Events.SortingChanged, this.sortingChanged.bind(this), this);
-}
-
-WebInspector.NativeSnapshotDataGrid.prototype = {
-    sortingChanged: function()
-    {
-        var expandedNodes = {};
-        this._totalNode._storeState(expandedNodes);
-        this._totalNode.removeChildren();
-        this._totalNode.populate();
-        this._totalNode._shouldRefreshChildren = true;
-        this._totalNode._restoreState(expandedNodes);
-    },
-
-    /**
-     * @param {MemoryAgent.MemoryBlock} nodeA
-     * @param {MemoryAgent.MemoryBlock} nodeB
-     */
-    _sortingFunction: function(nodeA, nodeB)
-    {
-        var sortColumnIdentifier = this.sortColumnIdentifier();
-        var sortAscending = this.isSortOrderAscending();
-        var field1 = nodeA[sortColumnIdentifier];
-        var field2 = nodeB[sortColumnIdentifier];
-        var result = field1 &lt; field2 ? -1 : (field1 &gt; field2 ? 1 : 0);
-        if (!sortAscending)
-            result = -result;
-        return result;
-    },
-
-    __proto__: WebInspector.DataGrid.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.DataGridNode}
- * @param {MemoryAgent.MemoryBlock} nodeData
- */
-WebInspector.NativeSnapshotNode = function(nodeData, profile)
-{
-    this._nodeData = nodeData;
-    this._profile = profile;
-    var viewProperties = WebInspector.MemoryBlockViewProperties._forMemoryBlock(nodeData);
-    var data = { name: viewProperties._description, size: this._nodeData.size };
-    var hasChildren = this._addChildrenFromGraph();
-    WebInspector.DataGridNode.call(this, data, hasChildren);
-}
-
-WebInspector.NativeSnapshotNode.prototype = {
-    /**
-     * @override
-     * @param {string} columnIdentifier
-     * @return {Element}
-     */
-    createCell: function(columnIdentifier)
-    {
-        var cell = columnIdentifier === &quot;size&quot; ?
-            this._createSizeCell(columnIdentifier) :
-            WebInspector.DataGridNode.prototype.createCell.call(this, columnIdentifier);
-        return cell;
-    },
-
-    /**
-     * @param {Object} expandedNodes
-     */
-    _storeState: function(expandedNodes)
-    {
-        if (!this.expanded)
-            return;
-        expandedNodes[this.uid()] = true;
-        for (var i in this.children)
-            this.children[i]._storeState(expandedNodes);
-    },
-
-    /**
-     * @param {Object} expandedNodes
-     */
-    _restoreState: function(expandedNodes)
-    {
-        if (!expandedNodes[this.uid()])
-            return;
-        this.expand();
-        for (var i in this.children)
-            this.children[i]._restoreState(expandedNodes);
-    },
-
-    /**
-     * @return {string}
-     */
-    uid: function()
-    {
-        if (!this._uid)
-            this._uid = (!this.parent || !this.parent.uid ? &quot;&quot; : this.parent.uid() || &quot;&quot;) + &quot;/&quot; + this._nodeData.name;
-        return this._uid;
-    },
-
-    /**
-     * @param {string} columnIdentifier
-     * @return {Element}
-     */
-    _createSizeCell: function(columnIdentifier)
-    {
-        var node = this;
-        var viewProperties = null;
-        var dimmed = false;
-        while (!viewProperties || viewProperties._fillStyle === &quot;inherit&quot;) {
-            viewProperties = WebInspector.MemoryBlockViewProperties._forMemoryBlock(node._nodeData);
-            if (viewProperties._fillStyle === &quot;inherit&quot;)
-                dimmed = true;
-            node = node.parent;
-        }
-
-        var sizeKB = this._nodeData.size / 1024;
-        var totalSize = this._profile._memoryBlock.size;
-        var percentage = this._nodeData.size / totalSize  * 100;
-
-        var cell = document.createElement(&quot;td&quot;);
-        cell.className = columnIdentifier + &quot;-column&quot;;
-
-        var textDiv = document.createElement(&quot;div&quot;);
-        textDiv.textContent = Number.withThousandsSeparator(sizeKB.toFixed(0)) + &quot;\u2009&quot; + WebInspector.UIString(&quot;KB&quot;);
-        textDiv.className = &quot;size-text&quot;;
-        cell.appendChild(textDiv);
-
-        var barDiv = document.createElement(&quot;div&quot;);
-        barDiv.className = &quot;size-bar&quot;;
-        barDiv.style.width = percentage + &quot;%&quot;;
-        barDiv.style.backgroundColor = viewProperties._fillStyle;
-        // fillerDiv displaces percentage text out of the bar visible area if it doesn't fit.
-        var fillerDiv = document.createElement(&quot;div&quot;);
-        fillerDiv.className = &quot;percent-text&quot;
-        barDiv.appendChild(fillerDiv);
-        var percentDiv = document.createElement(&quot;div&quot;);
-        percentDiv.textContent = percentage.toFixed(1) + &quot;%&quot;;
-        percentDiv.className = &quot;percent-text&quot;
-        barDiv.appendChild(percentDiv);
-
-        var barHolderDiv = document.createElement(&quot;div&quot;);
-        if (dimmed)
-            barHolderDiv.className = &quot;dimmed&quot;;
-        barHolderDiv.appendChild(barDiv);
-        cell.appendChild(barHolderDiv);
-
-        return cell;
-    },
-
-    populate: function() {
-        if (this._populated)
-            return;
-        this._populated = true;
-        if (this._nodeData.children)
-            this._addChildren();
-    },
-
-    _addChildren: function()
-    {
-        this._nodeData.children.sort(this.dataGrid._sortingFunction.bind(this.dataGrid));
-
-        for (var node in this._nodeData.children) {
-            var nodeData = this._nodeData.children[node];
-            if (WebInspector.settings.showNativeSnapshotUninstrumentedSize.get() || nodeData.name !== &quot;Other&quot;)
-                this.appendChild(new WebInspector.NativeSnapshotNode(nodeData, this._profile));
-        }
-    },
-
-    _addChildrenFromGraph: function()
-    {
-        var memoryBlock = this._nodeData;
-        if (memoryBlock.children)
-             return memoryBlock.children.length &gt; 0;
-        if (memoryBlock.name === &quot;Image&quot;) {
-            this._addImageDetails();
-            return true;
-        }
-        return false;
-    },
-
-    _addImageDetails: function()
-    {
-        /**
-         * @param {WebInspector.NativeHeapSnapshotProxy} proxy
-         */
-        function didLoad(proxy)
-        {
-            function didReceiveImages(result)
-            {
-                this._nodeData.children = result;
-                if (this.expanded)
-                    this._addChildren();
-            }
-            proxy.images(didReceiveImages.bind(this));
-
-        }
-        this._profile.load(didLoad.bind(this));
-    },
-
-    __proto__: WebInspector.DataGridNode.prototype
-}
-
-
-/**
- * @constructor
- * @implements {MemoryAgent.Dispatcher}
- */
-WebInspector.MemoryAgentDispatcher = function()
-{
-    InspectorBackend.registerMemoryDispatcher(this);
-    this._currentProfileHeader = null;
-}
-
-WebInspector.MemoryAgentDispatcher.instance = function()
-{
-    if (!WebInspector.MemoryAgentDispatcher._instance)
-        WebInspector.MemoryAgentDispatcher._instance = new WebInspector.MemoryAgentDispatcher();
-    return WebInspector.MemoryAgentDispatcher._instance;
-}
-
-WebInspector.MemoryAgentDispatcher.prototype = {
-    /**
-     * @override
-     * @param {MemoryAgent.HeapSnapshotChunk} chunk
-     */
-    addNativeSnapshotChunk: function(chunk)
-    {
-        if (this._currentProfileHeader)
-            this._currentProfileHeader.addNativeSnapshotChunk(chunk);
-    },
-
-    _onRemoveProfileHeader: function(event)
-    {
-        if (event.data === this._currentProfileHeader)
-            this._currentProfileHeader = null;
-    }
-};
-
-
-/**
- * @constructor
- * @extends {WebInspector.ProfileType}
- * @param {string} id
- * @param {string} name
- */
-WebInspector.NativeProfileTypeBase = function(profileHeaderConstructor, id, name)
-{
-    WebInspector.ProfileType.call(this, id, name);
-    this._profileHeaderConstructor = profileHeaderConstructor;
-    this._nextProfileUid = 1;
-    this.addEventListener(WebInspector.ProfileType.Events.RemoveProfileHeader,
-                          WebInspector.MemoryAgentDispatcher.prototype._onRemoveProfileHeader,
-                          WebInspector.MemoryAgentDispatcher.instance());
-}
-
-WebInspector.NativeProfileTypeBase.prototype = {
-    /**
-     * @override
-     * @return {boolean}
-     */
-    isInstantProfile: function()
-    {
-        return true;
-    },
-
-    /**
-     * @override
-     * @return {boolean}
-     */
-    buttonClicked: function()
-    {
-        if (WebInspector.MemoryAgentDispatcher.instance()._currentProfileHeader)
-            return false;
-
-        var profileHeader = new this._profileHeaderConstructor(this, WebInspector.UIString(&quot;Snapshot %d&quot;, this._nextProfileUid), this._nextProfileUid);
-        ++this._nextProfileUid;
-        profileHeader.isTemporary = true;
-        this.addProfile(profileHeader);
-        WebInspector.MemoryAgentDispatcher.instance()._currentProfileHeader = profileHeader;
-        profileHeader.load(function() { });
-
-
-        /**
-         * @param {?string} error
-         * @param {?MemoryAgent.MemoryBlock} memoryBlock
-         * @param {Object=} graphMetaInformation
-         */
-        function didReceiveMemorySnapshot(error, memoryBlock, graphMetaInformation)
-        {
-            console.assert(this === WebInspector.MemoryAgentDispatcher.instance()._currentProfileHeader);
-            WebInspector.MemoryAgentDispatcher.instance()._currentProfileHeader = null;
-            this._didReceiveMemorySnapshot(error, memoryBlock, graphMetaInformation);
-        }
-        MemoryAgent.getProcessMemoryDistribution(true, didReceiveMemorySnapshot.bind(profileHeader));
-        return false;
-    },
-
-    /**
-     * @override
-     * @param {!WebInspector.ProfileHeader} profile
-     */
-    removeProfile: function(profile)
-    {
-        if (WebInspector.MemoryAgentDispatcher.instance()._currentProfileHeader === profile)
-            WebInspector.MemoryAgentDispatcher.instance()._currentProfileHeader = null;
-        WebInspector.ProfileType.prototype.removeProfile.call(this, profile);
-    },
-
-    /**
-     * @override
-     * @param {string=} title
-     * @return {WebInspector.ProfileHeader}
-     */
-    createTemporaryProfile: function(title)
-    {
-        title = title || WebInspector.UIString(&quot;Snapshotting\u2026&quot;);
-        return new this._profileHeaderConstructor(this, title);
-    },
-
-    /**
-     * @override
-     * @param {ProfilerAgent.ProfileHeader} profile
-     * @return {WebInspector.ProfileHeader}
-     */
-    createProfile: function(profile)
-    {
-        return new this._profileHeaderConstructor(this, profile.title, -1);
-    },
-
-    __proto__: WebInspector.ProfileType.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.NativeProfileTypeBase}
- */
-WebInspector.NativeSnapshotProfileType = function()
-{
-    WebInspector.NativeProfileTypeBase.call(this, WebInspector.NativeSnapshotProfileHeader,  WebInspector.NativeSnapshotProfileType.TypeId, WebInspector.UIString(&quot;Take Native Heap Snapshot&quot;));
-}
-
-WebInspector.NativeSnapshotProfileType.TypeId = &quot;NATIVE_SNAPSHOT&quot;;
-
-WebInspector.NativeSnapshotProfileType.prototype = {
-    get buttonTooltip()
-    {
-        return WebInspector.UIString(&quot;Capture native heap graph.&quot;);
-    },
-
-    get treeItemTitle()
-    {
-        return WebInspector.UIString(&quot;NATIVE SNAPSHOT&quot;);
-    },
-
-    get description()
-    {
-        return WebInspector.UIString(&quot;Native memory snapshot profiles show native heap graph.&quot;);
-    },
-
-    __proto__: WebInspector.NativeProfileTypeBase.prototype
-}
-
-
-/**
- * @constructor
- * @extends {WebInspector.HeapProfileHeader}
- * @param {!WebInspector.ProfileType} type
- * @param {string} title
- * @param {number=} uid
- */
-WebInspector.NativeSnapshotProfileHeader = function(type, title, uid)
-{
-    WebInspector.HeapProfileHeader.call(this, type, title, uid, 0);
-    this._strings = [];
-    this._nodes = [];
-    this._edges = [];
-    this._baseToRealNodeId = [];
-}
-
-WebInspector.NativeSnapshotProfileHeader.prototype = {
-    /**
-     * @override
-     * @param {!WebInspector.ProfilesPanel} profilesPanel
-     */
-    createView: function(profilesPanel)
-    {
-        return new WebInspector.NativeHeapSnapshotView(profilesPanel, this);
-    },
-
-    startSnapshotTransfer: function()
-    {
-    },
-
-    snapshotConstructorName: function()
-    {
-        return &quot;NativeHeapSnapshot&quot;;
-    },
-
-    snapshotProxyConstructor: function()
-    {
-        return WebInspector.NativeHeapSnapshotProxy;
-    },
-
-    addNativeSnapshotChunk: function(chunk)
-    {
-        this._strings = this._strings.concat(chunk.strings);
-        this._nodes = this._nodes.concat(chunk.nodes);
-        this._edges = this._edges.concat(chunk.edges);
-        this._baseToRealNodeId = this._baseToRealNodeId.concat(chunk.baseToRealNodeId);
-    },
-
-    /**
-     * @param {?string} error
-     * @param {?MemoryAgent.MemoryBlock} memoryBlock
-     * @param {Object=} graphMetaInformation
-     */
-    _didReceiveMemorySnapshot: function(error, memoryBlock, graphMetaInformation)
-    {
-        var metaInformation = /** @type{HeapSnapshotMetainfo} */ (graphMetaInformation);
-        this.isTemporary = false;
-
-        var edgeFieldCount = metaInformation.edge_fields.length;
-        var nodeFieldCount = metaInformation.node_fields.length;
-        var nodeIdFieldOffset = metaInformation.node_fields.indexOf(&quot;id&quot;);
-        var toNodeIdFieldOffset = metaInformation.edge_fields.indexOf(&quot;to_node&quot;);
-
-        var baseToRealNodeIdMap = {};
-        for (var i = 0; i &lt; this._baseToRealNodeId.length; i += 2)
-            baseToRealNodeIdMap[this._baseToRealNodeId[i]] = this._baseToRealNodeId[i + 1];
-
-        var nodeId2NodeIndex = {};
-        for (var i = nodeIdFieldOffset; i &lt; this._nodes.length; i += nodeFieldCount)
-            nodeId2NodeIndex[this._nodes[i]] = i - nodeIdFieldOffset;
-
-        // Translate nodeId to nodeIndex.
-        var edges = this._edges;
-        for (var i = toNodeIdFieldOffset; i &lt; edges.length; i += edgeFieldCount) {
-            if (edges[i] in baseToRealNodeIdMap)
-                edges[i] = baseToRealNodeIdMap[edges[i]];
-            edges[i] = nodeId2NodeIndex[edges[i]];
-        }
-
-        var heapSnapshot = {
-            &quot;snapshot&quot;: {
-                &quot;meta&quot;: metaInformation,
-                node_count: this._nodes.length / nodeFieldCount,
-                edge_count: this._edges.length / edgeFieldCount,
-                root_index: this._nodes.length - nodeFieldCount
-            },
-            nodes: this._nodes,
-            edges: this._edges,
-            strings: this._strings
-        };
-
-        var chunk = JSON.stringify(heapSnapshot);
-        this.transferChunk(chunk);
-        this.finishHeapSnapshot();
-    },
-
-    __proto__: WebInspector.HeapProfileHeader.prototype
-}
-
-
-/**
- * @constructor
- * @extends {WebInspector.HeapSnapshotView}
- * @param {!WebInspector.ProfilesPanel} parent
- * @param {!WebInspector.NativeSnapshotProfileHeader} profile
- */
-WebInspector.NativeHeapSnapshotView = function(parent, profile)
-{
-    this._profile = profile;
-    WebInspector.HeapSnapshotView.call(this, parent, profile);
-}
-
-
-WebInspector.NativeHeapSnapshotView.prototype = {
-    get profile()
-    {
-        return this._profile;
-    },
-
-    __proto__: WebInspector.HeapSnapshotView.prototype
-};
-
-
-/**
- * @constructor
- * @extends {WebInspector.NativeProfileTypeBase}
- */
-WebInspector.NativeMemoryProfileType = function()
-{
-    WebInspector.NativeProfileTypeBase.call(this, WebInspector.NativeMemoryProfileHeader, WebInspector.NativeMemoryProfileType.TypeId, WebInspector.UIString(&quot;Capture Native Memory Distribution&quot;));
-}
-
-WebInspector.NativeMemoryProfileType.TypeId = &quot;NATIVE_MEMORY_DISTRIBUTION&quot;;
-
-WebInspector.NativeMemoryProfileType.prototype = {
-    get buttonTooltip()
-    {
-        return WebInspector.UIString(&quot;Capture native memory distribution.&quot;);
-    },
-
-    get treeItemTitle()
-    {
-        return WebInspector.UIString(&quot;MEMORY DISTRIBUTION&quot;);
-    },
-
-    get description()
-    {
-        return WebInspector.UIString(&quot;Native memory snapshot profiles show memory distribution among browser subsystems&quot;);
-    },
-
-    __proto__: WebInspector.NativeProfileTypeBase.prototype
-}
-
-/**
- * @constructor
- * @extends {WebInspector.NativeSnapshotProfileHeader}
- * @param {!WebInspector.ProfileType} type
- * @param {string} title
- * @param {number=} uid
- */
-WebInspector.NativeMemoryProfileHeader = function(type, title, uid)
-{
-    WebInspector.NativeSnapshotProfileHeader.call(this, type, title, uid);
-
-    /**
-     * @type {MemoryAgent.MemoryBlock}
-     */
-    this._memoryBlock = null;
-}
-
-WebInspector.NativeMemoryProfileHeader.prototype = {
-    /**
-     * @override
-     */
-    createSidebarTreeElement: function()
-    {
-        return new WebInspector.ProfileSidebarTreeElement(this, WebInspector.UIString(&quot;Snapshot %d&quot;), &quot;heap-snapshot-sidebar-tree-item&quot;);
-    },
-
-    /**
-     * @override
-     * @param {WebInspector.ProfilesPanel} profilesPanel
-     */
-    createView: function(profilesPanel)
-    {
-        return new WebInspector.NativeMemorySnapshotView(this);
-    },
-
-    /**
-     * @override
-     */
-    _updateSnapshotStatus: function()
-    {
-        WebInspector.NativeSnapshotProfileHeader.prototype._updateSnapshotStatus.call(this);
-        this.sidebarElement.subtitle = Number.bytesToString(/** @type{number} */ (this._memoryBlock.size));
-    },
-
-    /**
-     * @override
-     * @param {?string} error
-     * @param {?MemoryAgent.MemoryBlock} memoryBlock
-     * @param {Object=} graphMetaInformation
-     */
-    _didReceiveMemorySnapshot: function(error, memoryBlock, graphMetaInformation)
-    {
-        WebInspector.NativeSnapshotProfileHeader.prototype._didReceiveMemorySnapshot.call(this, error, memoryBlock, graphMetaInformation);
-        if (memoryBlock.size &amp;&amp; memoryBlock.children) {
-            var knownSize = 0;
-            for (var i = 0; i &lt; memoryBlock.children.length; i++) {
-                var size = memoryBlock.children[i].size;
-                if (size)
-                    knownSize += size;
-            }
-            var otherSize = memoryBlock.size - knownSize;
-
-            if (otherSize) {
-                memoryBlock.children.push({
-                    name: &quot;Other&quot;,
-                    size: otherSize
-                });
-            }
-        }
-        this._memoryBlock = memoryBlock;
-    },
-
-    __proto__: WebInspector.NativeSnapshotProfileHeader.prototype
-}
-
-/**
- * @constructor
- * @param {string} fillStyle
- * @param {string} name
- * @param {string} description
- */
-WebInspector.MemoryBlockViewProperties = function(fillStyle, name, description)
-{
-    this._fillStyle = fillStyle;
-    this._name = name;
-    this._description = description;
-}
-
-/**
- * @type {Object.&lt;string, WebInspector.MemoryBlockViewProperties&gt;}
- */
-WebInspector.MemoryBlockViewProperties._standardBlocks = null;
-
-WebInspector.MemoryBlockViewProperties._initialize = function()
-{
-    if (WebInspector.MemoryBlockViewProperties._standardBlocks)
-        return;
-    WebInspector.MemoryBlockViewProperties._standardBlocks = {};
-    function addBlock(fillStyle, name, description)
-    {
-        WebInspector.MemoryBlockViewProperties._standardBlocks[name] = new WebInspector.MemoryBlockViewProperties(fillStyle, name, WebInspector.UIString(description));
-    }
-    addBlock(&quot;hsl(  0,  0%,  60%)&quot;, &quot;ProcessPrivateMemory&quot;, &quot;Total&quot;);
-    addBlock(&quot;hsl(  0,  0%,  80%)&quot;, &quot;OwnersTypePlaceholder&quot;, &quot;OwnersTypePlaceholder&quot;);
-    addBlock(&quot;hsl(  0,  0%,  60%)&quot;, &quot;Other&quot;, &quot;Other&quot;);
-    addBlock(&quot;hsl(220, 80%,  70%)&quot;, &quot;Image&quot;, &quot;Images&quot;);
-    addBlock(&quot;hsl(100, 60%,  50%)&quot;, &quot;JSHeap&quot;, &quot;JavaScript heap&quot;);
-    addBlock(&quot;hsl( 90, 40%,  80%)&quot;, &quot;JSExternalResources&quot;, &quot;JavaScript external resources&quot;);
-    addBlock(&quot;hsl( 90, 60%,  80%)&quot;, &quot;CSS&quot;, &quot;CSS&quot;);
-    addBlock(&quot;hsl(  0, 50%,  60%)&quot;, &quot;DOM&quot;, &quot;DOM&quot;);
-    addBlock(&quot;hsl(  0, 80%,  60%)&quot;, &quot;WebInspector&quot;, &quot;Inspector data&quot;);
-    addBlock(&quot;hsl( 36, 90%,  50%)&quot;, &quot;Resources&quot;, &quot;Resources&quot;);
-    addBlock(&quot;hsl( 40, 80%,  80%)&quot;, &quot;GlyphCache&quot;, &quot;Glyph cache resources&quot;);
-    addBlock(&quot;hsl( 35, 80%,  80%)&quot;, &quot;DOMStorageCache&quot;, &quot;DOM storage cache&quot;);
-    addBlock(&quot;hsl( 60, 80%,  60%)&quot;, &quot;RenderTree&quot;, &quot;Render tree&quot;);
-    addBlock(&quot;hsl( 20, 80%,  50%)&quot;, &quot;MallocWaste&quot;, &quot;Memory allocator waste&quot;);
-}
-
-WebInspector.MemoryBlockViewProperties._forMemoryBlock = function(memoryBlock)
-{
-    WebInspector.MemoryBlockViewProperties._initialize();
-    var result = WebInspector.MemoryBlockViewProperties._standardBlocks[memoryBlock.name];
-    if (result)
-        return result;
-    return new WebInspector.MemoryBlockViewProperties(&quot;inherit&quot;, memoryBlock.name, memoryBlock.name);
-}
-
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendProfilesPaneljs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -408,10 +408,6 @@
</span><span class="cx">             this._registerProfileType(new WebInspector.CSSSelectorProfileType());
</span><span class="cx">         if (Capabilities.heapProfilerPresent)
</span><span class="cx">             this._registerProfileType(new WebInspector.HeapSnapshotProfileType());
</span><del>-        if (!WebInspector.WorkerManager.isWorkerFrontend() &amp;&amp; WebInspector.experimentsSettings.nativeMemorySnapshots.isEnabled()) {
-            this._registerProfileType(new WebInspector.NativeSnapshotProfileType());
-            this._registerProfileType(new WebInspector.NativeMemoryProfileType());
-        }
</del><span class="cx">         if (!WebInspector.WorkerManager.isWorkerFrontend() &amp;&amp; WebInspector.experimentsSettings.canvasInspection.isEnabled())
</span><span class="cx">             this._registerProfileType(new WebInspector.CanvasProfileType());
</span><span class="cx">     }
</span><span class="lines">@@ -1419,34 +1415,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-/**
- * @constructor
- * @extends {WebInspector.ProfilesPanel}
- */
-WebInspector.MemoryChartProfilerPanel = function()
-{
-    WebInspector.ProfilesPanel.call(this, &quot;memory-chart-profiler&quot;, new WebInspector.NativeMemoryProfileType());
-}
-
-WebInspector.MemoryChartProfilerPanel.prototype = {
-    __proto__: WebInspector.ProfilesPanel.prototype
-}
-
-
-/**
- * @constructor
- * @extends {WebInspector.ProfilesPanel}
- */
-WebInspector.NativeMemoryProfilerPanel = function()
-{
-    WebInspector.ProfilesPanel.call(this, &quot;memory-snapshot-profiler&quot;, new WebInspector.NativeSnapshotProfileType());
-}
-
-WebInspector.NativeMemoryProfilerPanel.prototype = {
-    __proto__: WebInspector.ProfilesPanel.prototype
-}
-
-
</del><span class="cx"> importScript(&quot;ProfileDataGridTree.js&quot;);
</span><span class="cx"> importScript(&quot;BottomUpProfileDataGridTree.js&quot;);
</span><span class="cx"> importScript(&quot;CPUProfileView.js&quot;);
</span><span class="lines">@@ -1461,7 +1429,6 @@
</span><span class="cx"> importScript(&quot;HeapSnapshotWorkerDispatcher.js&quot;);
</span><span class="cx"> importScript(&quot;JSHeapSnapshot.js&quot;);
</span><span class="cx"> importScript(&quot;NativeHeapSnapshot.js&quot;);
</span><del>-importScript(&quot;NativeMemorySnapshotView.js&quot;);
</del><span class="cx"> importScript(&quot;ProfileLauncherView.js&quot;);
</span><span class="cx"> importScript(&quot;TopDownProfileDataGridTree.js&quot;);
</span><span class="cx"> importScript(&quot;CanvasProfileView.js&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendSettingsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/front-end/Settings.js (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/Settings.js        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/Settings.js        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -112,7 +112,6 @@
</span><span class="cx">     this.geolocationOverride = this.createSetting(&quot;geolocationOverride&quot;, &quot;&quot;);
</span><span class="cx">     this.deviceOrientationOverride = this.createSetting(&quot;deviceOrientationOverride&quot;, &quot;&quot;);
</span><span class="cx">     this.showHeapSnapshotObjectsHiddenProperties = this.createSetting(&quot;showHeapSnapshotObjectsHiddenProperties&quot;, false);
</span><del>-    this.showNativeSnapshotUninstrumentedSize = this.createSetting(&quot;showNativeSnapshotUninstrumentedSize&quot;, false);
</del><span class="cx">     this.searchInContentScripts = this.createSetting(&quot;searchInContentScripts&quot;, false);
</span><span class="cx">     this.textEditorIndent = this.createSetting(&quot;textEditorIndent&quot;, &quot;    &quot;);
</span><span class="cx">     this.lastDockState = this.createSetting(&quot;lastDockState&quot;, &quot;&quot;);
</span><span class="lines">@@ -217,7 +216,6 @@
</span><span class="cx"> 
</span><span class="cx">     // Add currently running experiments here.
</span><span class="cx">     this.snippetsSupport = this._createExperiment(&quot;snippetsSupport&quot;, &quot;Snippets support&quot;);
</span><del>-    this.nativeMemorySnapshots = this._createExperiment(&quot;nativeMemorySnapshots&quot;, &quot;Native memory profiling&quot;);
</del><span class="cx">     this.nativeMemoryTimeline = this._createExperiment(&quot;nativeMemoryTimeline&quot;, &quot;Native memory timeline&quot;);
</span><span class="cx">     this.fileSystemInspection = this._createExperiment(&quot;fileSystemInspection&quot;, &quot;FileSystem inspection&quot;);
</span><span class="cx">     this.canvasInspection = this._createExperiment(&quot;canvasInspection &quot;, &quot;Canvas inspection&quot;);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendSettingsScreenjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/front-end/SettingsScreen.js (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/SettingsScreen.js        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/SettingsScreen.js        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -358,8 +358,6 @@
</span><span class="cx"> 
</span><span class="cx">     p = this._appendSection(WebInspector.UIString(&quot;Profiler&quot;));
</span><span class="cx">     p.appendChild(this._createCheckboxSetting(WebInspector.UIString(&quot;Show objects' hidden properties&quot;), WebInspector.settings.showHeapSnapshotObjectsHiddenProperties));
</span><del>-    if (WebInspector.experimentsSettings.nativeMemorySnapshots.isEnabled())
-        p.appendChild(this._createCheckboxSetting(WebInspector.UIString(&quot;Show uninstrumented native memory&quot;), WebInspector.settings.showNativeSnapshotUninstrumentedSize));
</del><span class="cx"> 
</span><span class="cx">     p = this._appendSection(WebInspector.UIString(&quot;Timeline&quot;));
</span><span class="cx">     var checkbox = this._createCheckboxSetting(WebInspector.UIString(&quot;Limit number of captured JS stack frames&quot;), WebInspector.settings.timelineLimitStackFramesFlag);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendWebKitqrc"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/front-end/WebKit.qrc (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/WebKit.qrc        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/WebKit.qrc        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -122,7 +122,6 @@
</span><span class="cx">     &lt;file&gt;NativeBreakpointsSidebarPane.js&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;NativeHeapSnapshot.js&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;NativeMemoryGraph.js&lt;/file&gt;
</span><del>-    &lt;file&gt;NativeMemorySnapshotView.js&lt;/file&gt;
</del><span class="cx">     &lt;file&gt;NavigatorOverlayController.js&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;NavigatorView.js&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;NetworkItemView.js&lt;/file&gt;
</span><span class="lines">@@ -258,7 +257,6 @@
</span><span class="cx">     &lt;file&gt;inspector.css&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;inspectorCommon.css&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;inspectorSyntaxHighlight.css&lt;/file&gt;
</span><del>-    &lt;file&gt;nativeMemoryProfiler.css&lt;/file&gt;
</del><span class="cx">     &lt;file&gt;navigatorView.css&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;networkLogView.css&lt;/file&gt;
</span><span class="cx">     &lt;file&gt;networkPanel.css&lt;/file&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendinspectorcss"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/front-end/inspector.css (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/inspector.css        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/inspector.css        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -546,22 +546,6 @@
</span><span class="cx">     background-position-x: -120px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-.toolbar-item.memory-chart-profiler .toolbar-icon {
-    background-position-x: -160px;
-}
-
-body.dock-to-bottom .toolbar-item.memory-chart-profiler .toolbar-icon {
-    background-position-x: -120px;
-}
-
-.toolbar-item.memory-snapshot-profiler .toolbar-icon {
-    background-position-x: -160px;
-}
-
-body.dock-to-bottom .toolbar-item.memory-snapshot-profiler .toolbar-icon {
-    background-position-x: -120px;
-}
-
</del><span class="cx"> .toolbar-item.audits .toolbar-icon {
</span><span class="cx">     background-position-x: -192px;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendinspectorjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/inspector.js        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -56,10 +56,6 @@
</span><span class="cx">                 allProfilers.push(new WebInspector.PanelDescriptor(&quot;heap-profiler&quot;, WebInspector.UIString(&quot;Heap Profiler&quot;), &quot;HeapProfilerPanel&quot;, &quot;ProfilesPanel.js&quot;));
</span><span class="cx">             if (!WebInspector.WorkerManager.isWorkerFrontend() &amp;&amp; WebInspector.experimentsSettings.canvasInspection.isEnabled())
</span><span class="cx">                 allProfilers.push(new WebInspector.PanelDescriptor(&quot;canvas-profiler&quot;, WebInspector.UIString(&quot;Canvas Profiler&quot;), &quot;CanvasProfilerPanel&quot;, &quot;ProfilesPanel.js&quot;));
</span><del>-            if (!WebInspector.WorkerManager.isWorkerFrontend() &amp;&amp; WebInspector.experimentsSettings.nativeMemorySnapshots.isEnabled()) {
-                allProfilers.push(new WebInspector.PanelDescriptor(&quot;memory-chart-profiler&quot;, WebInspector.UIString(&quot;Memory Distribution&quot;), &quot;MemoryChartProfilerPanel&quot;, &quot;ProfilesPanel.js&quot;));
-                allProfilers.push(new WebInspector.PanelDescriptor(&quot;memory-snapshot-profiler&quot;, WebInspector.UIString(&quot;Memory Snapshots&quot;), &quot;NativeMemoryProfilerPanel&quot;, &quot;ProfilesPanel.js&quot;));
-            }
</del><span class="cx">             Array.prototype.splice.bind(allDescriptors, allDescriptors.indexOf(profiles), 1).apply(null, allProfilers);
</span><span class="cx">         }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorfrontendnativeMemoryProfilercss"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/front-end/nativeMemoryProfiler.css (149806 => 149807)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/front-end/nativeMemoryProfiler.css        2013-05-09 15:11:56 UTC (rev 149806)
+++ trunk/Source/WebCore/inspector/front-end/nativeMemoryProfiler.css        2013-05-09 15:16:58 UTC (rev 149807)
</span><span class="lines">@@ -1,105 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 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:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-.memory-pie-chart-container {
-    display: -webkit-flex;
-    -webkit-flex-direction: column;
-}
-
-.memory-pie-chart {
-    -webkit-flex: 1;
-}
-
-.memory-blocks-list .swatch {
-    background-image: none;
-}
-
-.memory-blocks-list {
-    padding: 1px;
-    font-size: 11px;
-}
-
-.memory-blocks-list .item {
-    margin: 10px;
-}
-
-.native-snapshot-view {
-    display: none;
-    overflow: hidden;
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-    bottom: 0;
-}
-
-.native-snapshot-view.visible {
-    display: block;
-}
-
-.native-snapshot-view .data-grid {
-    position: absolute;
-    top: 0;
-    left: 0;
-    right: 0;
-    bottom: 0;
-    border: none;
-}
-
-.native-snapshot-view .data-grid td {
-    height: 14px;
-    padding: 1px 4px;
-}
-
-.native-snapshot-view .data-grid div.size-text {
-    float: left;
-    text-align: right;
-    width: 70px;
-    padding-right: 5px;
-}
-
-.native-snapshot-view .data-grid .dimmed div.size-bar {
-    background-image: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 100%, 100%, 0.7)), to(hsla(0, 100%, 100%, 0.5)));
-    color: hsla(0, 0%, 0%, 0.5);
-}
-
-.native-snapshot-view .data-grid div.size-bar {
-    text-align: center;
-    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.5)), to(rgba(192, 192, 192, 0)));
-    height: 14px;
-    border-radius: 2px;
-    color: black;
-    white-space: normal;
-    min-width: 1px;
-}
-
-.native-snapshot-view .data-grid div.percent-text {
-    display: inline-block;
-}
</del></span></pre>
</div>
</div>

</body>
</html>