Index: third_party/WebKit/WebCore/bindings/v8/V8DOMMap.h |
=================================================================== |
--- third_party/WebKit/WebCore/bindings/v8/V8DOMMap.h (revision 13509) |
+++ third_party/WebKit/WebCore/bindings/v8/V8DOMMap.h (working copy) |
@@ -53,6 +53,9 @@ |
// A map from a DOM object to its JS wrapper for DOM objects which can have pending activity. |
DOMWrapperMap<void>& getActiveDOMObjectMap(); |
+ // This should be called to remove all DOM objects associated with the current thread when it is tearing down. |
+ void removeAllDOMObjectsInCurrentThread(); |
+ |
#if ENABLE(SVG) |
// A map for SVGElementInstances to its JS wrapper. |
DOMWrapperMap<SVGElementInstance>& getDOMSVGElementInstanceMap(); |