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

Unified Diff: runtime/vm/handles.h

Issue 9148051: Provide API support for weak handles and post-mortem finalization. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years, 11 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
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/handles_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/handles.h
diff --git a/runtime/vm/handles.h b/runtime/vm/handles.h
index 94b5fd467985f2837c428ac338ff59c46f0fd10f..c2987c375c121badeac1bbd2d9fe339aca8f2fcd 100644
--- a/runtime/vm/handles.h
+++ b/runtime/vm/handles.h
@@ -60,7 +60,7 @@ class ObjectPointerVisitor;
class HandleVisitor {
public:
- virtual void Visit(uword* addr) = 0;
+ virtual void VisitHandle(uword addr) = 0;
virtual ~HandleVisitor() {
}
@@ -82,7 +82,7 @@ class Handles {
// Visit all object pointers stored in the various handles.
void VisitObjectPointers(ObjectPointerVisitor* visitor);
- // Visits all of the various handles.
+ // Visit all of the various handles.
void Visit(HandleVisitor* visitor);
// Allocates a handle in the current handle scope. This handle is valid only
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | runtime/vm/handles_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698