Index: runtime/vm/json_stream.h |
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h |
index 95d2041a8d79e01ae70f6f8d96b3dada8832c547..9ca5703b49f448dfaa99e2eb86e808d0e2fa228c 100644 |
--- a/runtime/vm/json_stream.h |
+++ b/runtime/vm/json_stream.h |
@@ -9,6 +9,7 @@ |
#include "platform/text_buffer.h" |
#include "vm/allocation.h" |
#include "vm/service.h" |
+#include "vm/token_descriptor.h" |
namespace dart { |
@@ -240,9 +241,10 @@ class JSONObject : public ValueObject { |
void AddFixedServiceId(const char* format, ...) const PRINTF_ATTRIBUTE(2, 3); |
- void AddLocation(const Script& script, |
- intptr_t token_pos, |
- intptr_t end_token_pos = -1) const; |
+ void AddLocation( |
+ const Script& script, |
+ TokenDescriptor token_pos, |
+ TokenDescriptor end_token_pos = TokenDescriptor::kNoSource) const; |
void AddLocation(const BreakpointLocation* bpt_loc) const; |