Chromium Code Reviews
DescriptionDecode the Dart message into a Dart_CMessage structure before calling the native port callback
The native port callback is now passed the message as a decodes
Dart_CMessage structure. The Dart_CMessage structure is allocated
in a zone and the callback receiving it should expect the
lifetime to be controlled by the caller.
Added support for zones which do not require a current
isolate. Changed the GrowableArray to support allocating in
aprovided zone instead of the zone for the current isolate.
R=turnidge@google.com, asiva@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=4068
Patch Set 1 #
Total comments: 19
Patch Set 2 : Addressed some comments from asiva@ #Patch Set 3 : Refactored message reader and added api native scope #Patch Set 4 : Undo unneeded changes #
Total comments: 12
Patch Set 5 : Addressed review comments from asiva@ #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||