Changeset 48907 in webkit
- Timestamp:
- Sep 29, 2009 3:10:06 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r48906 r48907 1 2009-09-29 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Oliver Hunt. 4 5 Web Inspector REGRESSION(r47820-r47822): Profiles aren't 6 added to the inspector unless the inspector is already open 7 when the profile completes. 8 9 https://bugs.webkit.org/show_bug.cgi?id=29897 10 11 * inspector/front-end/ProfilesPanel.js: 12 (WebInspector.ProfilesPanel.prototype._populateProfiles): 13 1 14 2009-09-29 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 15 -
trunk/WebCore/inspector/front-end/ProfilesPanel.js
r47821 r48907 396 396 _populateProfiles: function() 397 397 { 398 if (this.sidebarTree.children.length) 398 // FIXME: This code needs to be adjusted when more profiling types are added. 399 // Currently defaults to CPU profiles. 400 var cpuProfiles = this.sidebarTree.children[0]; 401 if (cpuProfiles.children.length) 399 402 return; 400 403 … … 406 409 } 407 410 408 if ( this.sidebarTree.children[0])409 this.sidebarTree.children[0].select();411 if (cpuProfiles.children[0]) 412 cpuProfiles.children[0].select(); 410 413 411 414 delete this._shouldPopulateProfiles;
Note: See TracChangeset
for help on using the changeset viewer.