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

Unified Diff: runtime/vm/dart_api_state.h

Issue 16247002: - Adjust parameter types for Dart_NewWeakReferenceSet implementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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/dart_api_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_state.h
===================================================================
--- runtime/vm/dart_api_state.h (revision 23421)
+++ runtime/vm/dart_api_state.h (working copy)
@@ -442,8 +442,8 @@
class WeakReferenceSet {
public:
- WeakReferenceSet(Dart_Handle* keys, intptr_t keys_length,
- Dart_Handle* values, intptr_t values_length)
+ WeakReferenceSet(Dart_WeakPersistentHandle* keys, intptr_t keys_length,
+ Dart_WeakPersistentHandle* values, intptr_t values_length)
: next_(NULL),
keys_(keys), num_keys_(keys_length),
values_(values), num_values_(values_length) {
@@ -487,9 +487,9 @@
private:
WeakReferenceSet* next_;
- Dart_Handle* keys_;
+ Dart_WeakPersistentHandle* keys_;
intptr_t num_keys_;
- Dart_Handle* values_;
+ Dart_WeakPersistentHandle* values_;
intptr_t num_values_;
DISALLOW_COPY_AND_ASSIGN(WeakReferenceSet);
};
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698