Fixes the regression where resource time/size pills do not
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Apr 2008 20:36:36 +0000 (20:36 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Apr 2008 20:36:36 +0000 (20:36 +0000)
commit19f6aba2cd40c74bac69c154806224a4b790549a
tree548e9e8f3460545b8e24cb7456f00eb042167b9c
parenta8f6074290bc2e0088cf7db5c82e40e9dd30f114
Fixes the regression where resource time/size pills do not
update during a load in the Inspector.

http://bugs.webkit.org/show_bug.cgi?id=18374

Reviewed by John Sullivan.

* page/inspector/ResourcesPanel.js:
(ResourcesPanel.prototype.show): Remove an unneeded call to _updateGraphBars,
since _updateSidebarWidth already calls _updateGraphBars.
(ResourcesPanel.prototype.addResource): Call updateGraphSideWidth.
(ResourcesPanel.prototype._updateGraphBars): Ditto.
(ResourceSidebarTreeElement.prototype.updateGraphSideWidth): Update the
style for graphSideElement with the passed in width.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/ResourcesPanel.js