Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: Source/WebCore/bindings/dart/DartUtilities.h

Issue 9837116: DOM wrappers that are not retained from Dart should be collected. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Rebased with proper shutdown semantics. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/bindings/dart/DartUtilities.h
diff --git a/Source/WebCore/bindings/dart/DartUtilities.h b/Source/WebCore/bindings/dart/DartUtilities.h
index 437b33d0480cade3d3c118ebc34e2e241ad4b26b..99e8a60bde1ecbdcf011b434542008d4d83f5c2f 100644
--- a/Source/WebCore/bindings/dart/DartUtilities.h
+++ b/Source/WebCore/bindings/dart/DartUtilities.h
@@ -127,6 +127,9 @@ public:
static PassRefPtr<ScriptArguments> createScriptArguments(Dart_Handle argument, Dart_Handle& exception);
static PassRefPtr<ScriptCallStack> createScriptCallStack();
+ static Dart_Handle createWeakPersistentHandle(Dart_Handle object, void* peer, Dart_WeakPersistentHandleFinalizer);
+ static void disposeWeakPersistentHandles();
+
static const uint8_t* fullSnapshot();
static void reportProblem(ScriptExecutionContext*, Dart_Handle);

Powered by Google App Engine
This is Rietveld 408576698