Fixes <http://webkit.org/b/30792>.
commit58d316ad7110f6efad3f11511cd52af4f7771719
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Oct 2009 21:50:41 +0000 (26 21:50 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Oct 2009 21:50:41 +0000 (26 21:50 +0000)
tree0cbed30aeb6b9a4f024b1f19e460ba8d12548a1e
parent41ac48057ab461d54f59ffe702987988e4ad587b
Fixes <http://webkit.org/b/30792>.
Web Inspector: When changing resource scope, resource graph can get in weird state.

Reviewed by Timothy Hatcher.

If the user was scrolled down while looking at All resources, and then just
selects Fonts, or something that doesn't have many resources, then the graph
will stay scrolled down, even when there is no content there.

When the filter is updated, scroll to the top of the graph view, so this won't
happen.

* inspector/front-end/AbstractTimelinePanel.js:
(WebInspector.AbstractTimelinePanel.prototype._updateFilter):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/inspector/front-end/AbstractTimelinePanel.js