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

Issue 12730013: - Use dart:typedata types in the Dart API calls. (Closed)

Created:
7 years, 9 months ago by siva
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Use dart:typedata types in the Dart API calls. - Change the dart/io code to not use dart:scalarlist Committed: https://code.google.com/p/dart/source/detail?r=19848

Patch Set 1 #

Patch Set 2 : #

Total comments: 16

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+275 lines, -138 lines) Patch
M runtime/bin/file_patch.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/io.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/typeddata.dart View 1 2 26 chunks +95 lines, -5 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 9 chunks +121 lines, -98 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M runtime/vm/dart_api_message.cc View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M runtime/vm/object.h View 1 2 4 chunks +14 lines, -10 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 1 chunk +12 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 5 chunks +11 lines, -11 lines 0 comments Download
M sdk/lib/io/io.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/web_socket_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
siva
7 years, 9 months ago (2013-03-11 21:54:11 UTC) #1
siva
7 years, 9 months ago (2013-03-12 07:25:18 UTC) #2
Mads Ager (google)
LGTM! https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/lib/typeddata.dart#newcode1219 runtime/lib/typeddata.dart:1219: List<int> _createList(int length) { List<int> -> Int8List? Similarly ...
7 years, 9 months ago (2013-03-12 08:18:03 UTC) #3
Anton Muhin
https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/lib/typeddata.dart#newcode1786 runtime/lib/typeddata.dart:1786: : super(), nit: as per style guide, shouldn't super ...
7 years, 9 months ago (2013-03-12 08:31:46 UTC) #4
Mads Ager (google)
https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/vm/dart_api_message.cc File runtime/vm/dart_api_message.cc (right): https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/vm/dart_api_message.cc#newcode434 runtime/vm/dart_api_message.cc:434: case kExternalTypedDataUint8ArrayCid: { On 2013/03/12 08:31:46, Anton Muhin wrote: ...
7 years, 9 months ago (2013-03-12 08:36:17 UTC) #5
Ivan Posva
DBC -ip https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/bin/file_patch.dart File runtime/bin/file_patch.dart (right): https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/bin/file_patch.dart#newcode38 runtime/bin/file_patch.dart:38: List<int> _makeUint8ListView(List<int> source, int offsetInBytes, int length) ...
7 years, 9 months ago (2013-03-12 09:32:02 UTC) #6
siva
https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/bin/file_patch.dart File runtime/bin/file_patch.dart (right): https://chromiumcodereview.appspot.com/12730013/diff/9001/runtime/bin/file_patch.dart#newcode38 runtime/bin/file_patch.dart:38: List<int> _makeUint8ListView(List<int> source, int offsetInBytes, int length) { Yes, ...
7 years, 9 months ago (2013-03-12 10:31:46 UTC) #7
Anton Muhin
lgtm
7 years, 9 months ago (2013-03-12 10:52:38 UTC) #8
siva
7 years, 9 months ago (2013-03-12 10:57:56 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r19848 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698