-
barraclough@apple.com authored
between DOMWrapperWorld and ScriptController/ScriptCachedFrameData, give the latter an ref pointer to the former. This reduces complexity & cost of the caching entries in the back forward cache. Patch by Gavin Barraclough <barraclough@apple.com> on 2009-11-10 Reviewed by Geoff Garen. * WebCore.base.exp: * bindings/js/JSDOMBinding.cpp: (WebCore::DOMWrapperWorld::~DOMWrapperWorld): * bindings/js/JSDOMBinding.h: (WebCore::DOMWrapperWorld::forgetDocument): * bindings/js/ScriptCachedFrameData.cpp: (WebCore::ScriptCachedFrameData::ScriptCachedFrameData): (WebCore::ScriptCachedFrameData::restore): (WebCore::ScriptCachedFrameData::clear): * bindings/js/ScriptCachedFrameData.h: * bindings/js/ScriptController.cpp: (WebCore::ScriptController::~ScriptController): (WebCore::ScriptController::clearWindowShell): (WebCore::ScriptController::initScript): (WebCore::ScriptController::updateDocument): * bindings/js/ScriptController.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b8c62238