Index: runtime/vm/service.h |
diff --git a/runtime/vm/service.h b/runtime/vm/service.h |
index 7270e2408fd4aba1fb2e0a80f01f640b365aeaa8..ec3a807ad30c2bc0f0a418bce2f5d3f56770123f 100644 |
--- a/runtime/vm/service.h |
+++ b/runtime/vm/service.h |
@@ -38,6 +38,10 @@ class Service : public AllStatic { |
return port_ != ILLEGAL_PORT; |
} |
+ static void set_port(Dart_Port port) { |
+ port_ = port; |
+ } |
+ |
static void SetEventMask(uint32_t mask); |
// Is the service interested in debugger events? |