-
tomernic authored
Rolled out Maciej's code cleanup from 8/22. It turns out that keeping the "loading" flag is a useful optimization, as it avoids many Objective-C method calls while polling resources for their load state. This fixes a 3-4% PLT performance regression (as measured on my MacBook Pro). * Loader/WebFrameLoader.m: (-[WebFrameLoader addPlugInStreamLoader:]): (-[WebFrameLoader removePlugInStreamLoader:]): (-[WebFrameLoader addSubresourceLoader:]): (-[WebFrameLoader removeSubresourceLoader:]): * WebView/WebDataSource.m: (-[WebDataSourcePrivate dealloc]): (-[WebDataSource _prepareForLoadStart]): (-[WebDataSource _setLoading:]): (-[WebDataSource _updateLoading]): (-[WebDataSource _startLoading]): (-[WebDataSource _stopLoading]): (-[WebDataSource _setPrimaryLoadComplete:]): (-[WebDataSource isLoading]): * WebView/WebDataSourceInternal.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3893d669