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

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

Issue 1095683005: fix super ctor logic (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merge Created 5 years, 8 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/collection.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/convert.js
diff --git a/lib/runtime/dart/convert.js b/lib/runtime/dart/convert.js
index d619c8fd80ae7492da024397d27534b3ef134ccf..ddb65a25f3690f416cf1c47f251470437e29db9f 100644
--- a/lib/runtime/dart/convert.js
+++ b/lib/runtime/dart/convert.js
@@ -151,7 +151,6 @@ var convert;
_UnicodeSubsetEncoderSink(subsetMask, sink) {
this[_subsetMask] = subsetMask;
this[_sink] = sink;
- super.StringConversionSinkBase();
}
close() {
this[_sink].close();
@@ -268,7 +267,6 @@ var convert;
class _ErrorHandlingAsciiDecoderSink extends ByteConversionSinkBase {
_ErrorHandlingAsciiDecoderSink(utf8Sink) {
this[_utf8Sink] = utf8Sink;
- super.ByteConversionSinkBase();
}
close() {
this[_utf8Sink].close();
@@ -296,7 +294,6 @@ var convert;
class _SimpleAsciiDecoderSink extends ByteConversionSinkBase {
_SimpleAsciiDecoderSink(sink) {
this[_sink] = sink;
- super.ByteConversionSinkBase();
}
close() {
this[_sink].close();
@@ -325,7 +322,6 @@ var convert;
class _ByteAdapterSink extends ByteConversionSinkBase {
_ByteAdapterSink(sink) {
this[_sink] = sink;
- super.ByteConversionSinkBase();
}
add(chunk) {
return this[_sink].add(chunk);
@@ -344,7 +340,6 @@ var convert;
this[_buffer] = new typed_data.Uint8List(_ByteCallbackSink[_INITIAL_BUFFER_SIZE]);
this[_callback] = callback;
this[_bufferIndex] = 0;
- super.ByteConversionSinkBase();
}
add(chunk) {
let freeCount = dart.notNull(this[_buffer][core.$length]) - dart.notNull(this[_bufferIndex]);
@@ -593,7 +588,6 @@ var convert;
_HtmlEscapeSink(escape, sink) {
this[_escape] = escape;
this[_sink] = sink;
- super.StringConversionSinkBase();
}
addSlice(chunk, start, end, isLast) {
let val = this[_escape][_convert](chunk, start, end);
@@ -1323,7 +1317,6 @@ var convert;
class _Latin1DecoderSink extends ByteConversionSinkBase {
_Latin1DecoderSink(sink) {
this[_sink] = sink;
- super.ByteConversionSinkBase();
}
close() {
this[_sink].close();
@@ -1399,7 +1392,6 @@ var convert;
_LineSplitterSink(sink) {
this[_sink] = sink;
this[_carry] = null;
- super.StringConversionSinkBase();
}
addSlice(chunk, start, end, isLast) {
if (this[_carry] != null) {
@@ -1564,7 +1556,6 @@ var convert;
class _StringSinkConversionSink extends StringConversionSinkBase {
_StringSinkConversionSink(stringSink) {
this[_stringSink] = stringSink;
- super.StringConversionSinkBase();
}
close() {}
addSlice(str, start, end, isLast) {
@@ -1606,7 +1597,6 @@ var convert;
class _StringAdapterSink extends StringConversionSinkBase {
_StringAdapterSink(sink) {
this[_sink] = sink;
- super.StringConversionSinkBase();
}
add(str) {
return this[_sink].add(str);
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698