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

Unified Diff: tests/lib/typeddata/float32x4_list_test.dart

Issue 12982010: Review changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged Created 7 years, 9 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 | « tests/lib/scalarlist/float32x4_test.dart ('k') | tests/lib/typeddata/float32x4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/typeddata/float32x4_list_test.dart
diff --git a/tests/lib/typeddata/float32x4_list_test.dart b/tests/lib/typeddata/float32x4_list_test.dart
index 2073aff035df83a148e0057b72707233bb98d3ba..3fffde02d03afcf311e234be65968d0a97b97608 100644
--- a/tests/lib/typeddata/float32x4_list_test.dart
+++ b/tests/lib/typeddata/float32x4_list_test.dart
@@ -5,7 +5,7 @@
// Library tag to be able to run in html test framework.
library float32x4_list_test;
-import 'dart:scalarlist';
+import 'dart:typeddata';
testLoadStore(array) {
Expect.equals(8, array.length);
@@ -56,7 +56,7 @@ main() {
for (int i = 0; i < floatList.length; i++) {
floatList[i] = i.toDouble();
}
- list = new Float32x4List.view(floatList.asByteArray());
+ list = new Float32x4List.view(floatList);
for (int i = 0; i < 3000; i++) {
testView(list);
}
« no previous file with comments | « tests/lib/scalarlist/float32x4_test.dart ('k') | tests/lib/typeddata/float32x4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698