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

Unified Diff: lib/src/protobuf/coded_buffer_reader.dart

Issue 1196773004: changes for 0.3.9 (Closed) Base URL: https://github.com/dart-lang/dart-protobuf.git@master
Patch Set: add mixins_meta, move PbMapMixin to separate library 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
Index: lib/src/protobuf/coded_buffer_reader.dart
diff --git a/lib/src/protobuf/coded_buffer_reader.dart b/lib/src/protobuf/coded_buffer_reader.dart
index a22b8f1ed7e0df8bdd158c4a664bac8c6c0aa191..81997d22d607f44009d77d01b0f739c53dda3765 100644
--- a/lib/src/protobuf/coded_buffer_reader.dart
+++ b/lib/src/protobuf/coded_buffer_reader.dart
@@ -67,7 +67,7 @@ class CodedBufferReader {
throw new InvalidProtocolBufferException.recursionLimitExceeded();
}
++_recursionDepth;
- message.mergeFromCodedBufferReader(this);
+ message.mergeFromCodedBufferReader(this, extensionRegistry);
checkLastTagWas(makeTag(fieldNumber, WIRETYPE_END_GROUP));
--_recursionDepth;
}
@@ -102,7 +102,7 @@ class CodedBufferReader {
throw new InvalidProtocolBufferException.truncatedMessage();
}
++_recursionDepth;
- message.mergeFromCodedBufferReader(this);
+ message.mergeFromCodedBufferReader(this, extensionRegistry);
checkLastTagWas(0);
--_recursionDepth;
_currentLimit = oldLimit;

Powered by Google App Engine
This is Rietveld 408576698