-
graouts@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=121958 Reviewed by Darin Adler. Reset the resources count and accumulated size when we detect the main frame has changed, which will work with documents where there are no resources besides frames in which case WebInspector.Frame.Event.AllResourcesRemoved was not fired and our counts wouldn't be reset correctly. * UserInterface/DashboardManager.js: (WebInspector.DashboardManager): (WebInspector.DashboardManager.prototype._mainResourceDidChange): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ae0e6f48