| Index: runtime/bin/eventhandler.h
|
| diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h
|
| index bdeb8129ba2dd70500291cefeae7247d36eac418..9ed872ffe11781493b77df569de7dda85717beaa 100644
|
| --- a/runtime/bin/eventhandler.h
|
| +++ b/runtime/bin/eventhandler.h
|
| @@ -327,7 +327,6 @@ class DescriptorInfoSingleMixin : public DI {
|
|
|
| virtual void ReturnTokens(Dart_Port port, int count) {
|
| ASSERT(port_ == port);
|
| - ASSERT(tokens_ >= 0);
|
| if (!disable_tokens_) {
|
| tokens_ += count;
|
| }
|
| @@ -548,7 +547,6 @@ class DescriptorInfoMultipleMixin : public DI {
|
|
|
| PortEntry* pentry = reinterpret_cast<PortEntry*>(entry->value);
|
| bool was_ready = pentry->IsReady();
|
| - ASSERT(pentry->token_count >= 0);
|
| if (!disable_tokens_) {
|
| pentry->token_count += count;
|
| }
|
|
|