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

Side by Side Diff: runtime/lib/typed_data.dart

Issue 2455593002: Revert "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « runtime/lib/timeline.dart ('k') | runtime/lib/uri_patch.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Unlike the other SDK libraries, this file is not a patch that is applied to
6 // dart:typed_data. Instead, it completely replaces the implementation from the
7 // SDK.
8 library dart.typed_data; 5 library dart.typed_data;
9 6
10 import "dart:_internal"; 7 import "dart:_internal";
11 import "dart:collection" show ListBase; 8 import "dart:collection" show ListBase;
12 import 'dart:math' show Random; 9 import 'dart:math' show Random;
13 10
14 /** 11 /**
15 * A typed view of a sequence of bytes. 12 * A typed view of a sequence of bytes.
16 */ 13 */
17 abstract class TypedData { 14 abstract class TypedData {
(...skipping 4231 matching lines...) Expand 10 before | Expand all | Expand 10 after
4249 } 4246 }
4250 } 4247 }
4251 4248
4252 4249
4253 int _defaultIfNull(object, value) { 4250 int _defaultIfNull(object, value) {
4254 if (object == null) { 4251 if (object == null) {
4255 return value; 4252 return value;
4256 } 4253 }
4257 return object; 4254 return object;
4258 } 4255 }
OLDNEW
« no previous file with comments | « runtime/lib/timeline.dart ('k') | runtime/lib/uri_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698