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

Unified Diff: lib/runtime/dart/_native_typed_data.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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 | « lib/runtime/dart/_js_primitives.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_native_typed_data.js
diff --git a/lib/runtime/dart/_native_typed_data.js b/lib/runtime/dart/_native_typed_data.js
index d3c9ce03cc3a7f3880f8114728fb86ec35e698a1..748de26a583f7ed086d2ca42759746dcc7891630 100644
--- a/lib/runtime/dart/_native_typed_data.js
+++ b/lib/runtime/dart/_native_typed_data.js
@@ -1,4 +1,5 @@
-dart.library('dart/_native_typed_data', null, /* Imports */[
+dart_library.library('dart/_native_typed_data', null, /* Imports */[
+ "dart_runtime/dart",
'dart/core',
'dart/typed_data',
'dart/_js_helper',
@@ -7,8 +8,9 @@ dart.library('dart/_native_typed_data', null, /* Imports */[
'dart/_interceptors',
'dart/math'
], /* Lazy imports */[
-], function(exports, core, typed_data, _js_helper, collection, _internal, _interceptors, math) {
+], function(exports, dart, core, typed_data, _js_helper, collection, _internal, _interceptors, math) {
'use strict';
+ let dartx = dart.dartx;
class NativeByteBuffer extends core.Object {
NativeByteBuffer() {
this.lengthInBytes = null;
« no previous file with comments | « lib/runtime/dart/_js_primitives.js ('k') | lib/runtime/dart/async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698