Title: [135608] trunk/Source/WebCore
- Revision
- 135608
- Author
- [email protected]
- Date
- 2012-11-23 07:13:38 -0800 (Fri, 23 Nov 2012)
Log Message
Web Inspector: remove total item from NMI snapshot grid
https://bugs.webkit.org/show_bug.cgi?id=101926
Patch by Alexei Filippov <[email protected]> on 2012-11-23
Reviewed by Yury Semikhatsky.
* inspector/front-end/NativeMemorySnapshotView.js:
(WebInspector.NativeSnapshotDataGrid):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (135607 => 135608)
--- trunk/Source/WebCore/ChangeLog 2012-11-23 15:11:56 UTC (rev 135607)
+++ trunk/Source/WebCore/ChangeLog 2012-11-23 15:13:38 UTC (rev 135608)
@@ -1,3 +1,13 @@
+2012-11-23 Alexei Filippov <[email protected]>
+
+ Web Inspector: remove total item from NMI snapshot grid
+ https://bugs.webkit.org/show_bug.cgi?id=101926
+
+ Reviewed by Yury Semikhatsky.
+
+ * inspector/front-end/NativeMemorySnapshotView.js:
+ (WebInspector.NativeSnapshotDataGrid):
+
2012-11-23 Zeno Albisser <[email protected]>
[Qt] GraphicsContext3DQt should not overwrite glClearColor of sharing context.
Modified: trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js (135607 => 135608)
--- trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js 2012-11-23 15:11:56 UTC (rev 135607)
+++ trunk/Source/WebCore/inspector/front-end/NativeMemorySnapshotView.js 2012-11-23 15:13:38 UTC (rev 135608)
@@ -59,10 +59,15 @@
size: { title: WebInspector.UIString("Size"), sortable: false },
};
WebInspector.DataGrid.call(this, columns);
- this.setRootNode(new WebInspector.DataGridNode(null, true));
var totalNode = new WebInspector.NativeSnapshotNode(profile, profile);
- this.rootNode().appendChild(totalNode);
- totalNode.expand();
+ if (WebInspector.settings.showNativeSnapshotUninstrumentedSize.get()) {
+ this.setRootNode(new WebInspector.DataGridNode(null, true));
+ this.rootNode().appendChild(totalNode)
+ totalNode.expand();
+ } else {
+ this.setRootNode(totalNode);
+ totalNode._populate();
+ }
}
WebInspector.NativeSnapshotDataGrid.prototype = {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes