Title: [117582] trunk/Source/WebCore
Revision
117582
Author
[email protected]
Date
2012-05-18 06:43:18 -0700 (Fri, 18 May 2012)

Log Message

Web Inspector: exception in console when pressing % button in CPU profile view
https://bugs.webkit.org/show_bug.cgi?id=86849

Reviewed by Pavel Feldman.

Use root node to get children, not DataGrid object.

* inspector/front-end/CPUProfileView.js:
(WebInspector.CPUProfileView.prototype.refreshVisibleData):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (117581 => 117582)


--- trunk/Source/WebCore/ChangeLog	2012-05-18 13:30:40 UTC (rev 117581)
+++ trunk/Source/WebCore/ChangeLog	2012-05-18 13:43:18 UTC (rev 117582)
@@ -1,5 +1,17 @@
 2012-05-18  Yury Semikhatsky  <[email protected]>
 
+        Web Inspector: exception in console when pressing % button in CPU profile view
+        https://bugs.webkit.org/show_bug.cgi?id=86849
+
+        Reviewed by Pavel Feldman.
+
+        Use root node to get children, not DataGrid object.
+
+        * inspector/front-end/CPUProfileView.js:
+        (WebInspector.CPUProfileView.prototype.refreshVisibleData):
+
+2012-05-18  Yury Semikhatsky  <[email protected]>
+
         Web Inspector: remove unnecessary indirection from profile types
         https://bugs.webkit.org/show_bug.cgi?id=86845
 

Modified: trunk/Source/WebCore/inspector/front-end/CPUProfileView.js (117581 => 117582)


--- trunk/Source/WebCore/inspector/front-end/CPUProfileView.js	2012-05-18 13:30:40 UTC (rev 117581)
+++ trunk/Source/WebCore/inspector/front-end/CPUProfileView.js	2012-05-18 13:43:18 UTC (rev 117582)
@@ -174,7 +174,7 @@
 
     refreshVisibleData: function()
     {
-        var child = this.dataGrid.children[0];
+        var child = this.dataGrid.rootNode().children[0];
         while (child) {
             child.refresh();
             child = child.traverseNextNode(false, null, true);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to