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

Issue 14205004: Remove typeddata transferable constructors (Closed)

Created:
7 years, 8 months ago by vsm
Modified:
7 years, 8 months ago
Reviewers:
iposva, siva
CC:
reviews_dartlang.org, Mads Ager (google), Anton Muhin
Visibility:
Public.

Description

Remove typeddata transferable constructors These constructors are not in the public/shared typeddata.dart. Tests updated accordingly. Committed: https://code.google.com/p/dart/source/detail?r=21576

Patch Set 1 #

Total comments: 5

Patch Set 2 : Remove private static methods that are unused #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -146 lines) Patch
M runtime/lib/typeddata.dart View 1 24 chunks +0 lines, -101 lines 0 comments Download
M tests/lib/typeddata/float32x4_list_test.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M tests/standalone/byte_array_view_optimized_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/typed_data_test.dart View 1 7 chunks +1 line, -40 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
vsm
https://chromiumcodereview.appspot.com/14205004/diff/1/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/14205004/diff/1/runtime/lib/typeddata.dart#newcode45 runtime/lib/typeddata.dart:45: static _ExternalUint8Array _newTransferable(int length) { Are these still needed? ...
7 years, 8 months ago (2013-04-12 22:54:43 UTC) #1
siva
Anton had initially mentioned that he may need this functionality of being able to create ...
7 years, 8 months ago (2013-04-13 08:00:59 UTC) #2
siva
lgtm https://chromiumcodereview.appspot.com/14205004/diff/1/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/14205004/diff/1/runtime/lib/typeddata.dart#newcode45 runtime/lib/typeddata.dart:45: static _ExternalUint8Array _newTransferable(int length) { I don't think ...
7 years, 8 months ago (2013-04-15 18:09:04 UTC) #3
vsm
Committed patchset #2 manually as r21576 (presubmit successful).
7 years, 8 months ago (2013-04-16 20:55:18 UTC) #4
vsm
7 years, 8 months ago (2013-04-16 21:01:57 UTC) #5
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/14205004/diff/1/runtime/lib/typeddata....
File runtime/lib/typeddata.dart (right):

https://chromiumcodereview.appspot.com/14205004/diff/1/runtime/lib/typeddata....
runtime/lib/typeddata.dart:45: static _ExternalUint8Array _newTransferable(int
length) {
On 2013/04/15 18:09:05, siva wrote:
> I don't think these are called from the embedder, I would remove these too.
> 
> On 2013/04/12 22:54:43, vsm wrote:
> > Are these still needed?  I left them in as they are not public and could
> > presumably be called directly by the embedder.
> 

Done.

https://chromiumcodereview.appspot.com/14205004/diff/1/tests/standalone/typed...
File tests/standalone/typed_data_test.dart (left):

https://chromiumcodereview.appspot.com/14205004/diff/1/tests/standalone/typed...
tests/standalone/typed_data_test.dart:68: }
This sounds like a good idea.  Can someone on the VM team followup on this?

On 2013/04/15 18:09:05, siva wrote:
> I am wondering if we should move this test to
> dart_api_impl_test.cc by creating an external uint8clampedArray using the API.
> 
> Something similar to
> TEST_CASE(ExternalUint8ClampedArrayAccess)

Powered by Google App Engine
This is Rietveld 408576698