Index: runtime/bin/eventhandler.cc |
diff --git a/runtime/bin/eventhandler.cc b/runtime/bin/eventhandler.cc |
index 0c5b76577675066ba92158d957cbd2a1fd11a993..90eddd09ef2d59b4fa456428c8383887320c9fa9 100644 |
--- a/runtime/bin/eventhandler.cc |
+++ b/runtime/bin/eventhandler.cc |
@@ -106,12 +106,7 @@ void FUNCTION_NAME(EventHandler_SendData)(Dart_NativeArguments args) { |
UNREACHABLE(); |
} |
int64_t data = DartUtils::GetIntegerValue(Dart_GetNativeArgument(args, 2)); |
- if ((id == kTimerId) && (data == 0)) { |
- // This is a 0-timer. Simply queue a 'null' on the port. |
- DartUtils::PostNull(dart_port); |
- } else { |
- event_handler->SendData(id, dart_port, data); |
- } |
+ event_handler->SendData(id, dart_port, data); |
} |
} // namespace bin |