-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=75699 Reviewed by Alexey Proskuryakov. Previously, we had to carefully check every object tree hanging off of DOMWindow to make sure that every property correctly disconnected itself and all its subobjects from the Frame when the DOMWindow disconnected from the Frame. This patch introduces DOMWindowProperty, which is a base class that handles this work automagically, ensuring that we won't have any dangling Frame pointers and removing a bunch of boilerplate code. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * css/StyleMedia.cpp: (WebCore::StyleMedia::StyleMedia): * css/StyleMedia.h: (WebCore::StyleMedia::create): * loader/appcache/DOMApplicationCache.cpp: (WebCore::DOMApplicationCache::DOMApplicationCache): (WebCore::DOMApplicationCache::disconnectFrame): * loader/appcache/DOMApplicationCache.h: * page/BarInfo.cpp: (WebCore::BarInfo::Bar...
84fe60e1