Index: runtime/include/dart_api.h |
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
index 6665e0a010ee62ece628e7c82ad2953d58158cbe..58156bf6a4757252f2b3a0804c4964cde4d5e8e1 100755 |
--- a/runtime/include/dart_api.h |
+++ b/runtime/include/dart_api.h |
@@ -528,8 +528,8 @@ DART_EXPORT void Dart_DeletePersistentHandle(Dart_PersistentHandle object); |
* after the object is garbage collected, unless the handle has been deleted. |
* A valid callback needs to be specified it cannot be NULL. |
* |
- * \return Success if the weak persistent handle was |
- * created. Otherwise, returns an error. |
+ * \return The weak persistent handle or NULL. NULL is returned in case of bad |
+ * parameters. |
*/ |
DART_EXPORT Dart_WeakPersistentHandle Dart_NewWeakPersistentHandle( |
Dart_Handle object, |