Changeset 117582 in webkit


Ignore:
Timestamp:
May 18, 2012 6:43:18 AM (12 years ago)
Author:
yurys@chromium.org
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117581 r117582  
     12012-05-18  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: exception in console when pressing % button in CPU profile view
     4        https://bugs.webkit.org/show_bug.cgi?id=86849
     5
     6        Reviewed by Pavel Feldman.
     7
     8        Use root node to get children, not DataGrid object.
     9
     10        * inspector/front-end/CPUProfileView.js:
     11        (WebInspector.CPUProfileView.prototype.refreshVisibleData):
     12
    1132012-05-18  Yury Semikhatsky  <yurys@chromium.org>
    214
  • trunk/Source/WebCore/inspector/front-end/CPUProfileView.js

    r117581 r117582  
    175175    refreshVisibleData: function()
    176176    {
    177         var child = this.dataGrid.children[0];
     177        var child = this.dataGrid.rootNode().children[0];
    178178        while (child) {
    179179            child.refresh();
Note: See TracChangeset for help on using the changeset viewer.