| Index: runtime/vm/json_stream.h
|
| diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
|
| index 239c4e76f3241cd43f0523d3494b2fd010121188..5d23dcdd552fe7ffa1de045df1b003d172f12069 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 {
|
| @@ -239,9 +240,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;
|
|
|
|
|