diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/bindings/core/v8/V8GCController.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/bindings/core/v8/V8GCController.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/bindings/core/v8/V8GCController.h b/chromium/third_party/WebKit/Source/bindings/core/v8/V8GCController.h index 55d4383d001..eb8be55aa13 100644 --- a/chromium/third_party/WebKit/Source/bindings/core/v8/V8GCController.h +++ b/chromium/third_party/WebKit/Source/bindings/core/v8/V8GCController.h @@ -61,7 +61,12 @@ class CORE_EXPORT V8GCController { static void TraceDOMWrappers(v8::Isolate*, Visitor*); static bool HasPendingActivity(v8::Isolate*, ExecutionContext*); + // Called when Oilpan traces references from V8 wrappers to DOM wrappables. static v8::HeapProfiler::RetainerInfos GetRetainerInfos(v8::Isolate*); + + // Called upon terminating a thread when Oilpan clears references from V8 + // wrappers to DOM wrappables. + static void ClearDOMWrappers(v8::Isolate*); }; } // namespace blink |