Index: runtime/vm/service.cc |
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc |
index abd4271746543e867143265e5b5a6dfb7bb4e358..2efb6898a00cc46c720b218328f5f8057b0921db 100644 |
--- a/runtime/vm/service.cc |
+++ b/runtime/vm/service.cc |
@@ -3827,8 +3827,10 @@ static const MethodParameter* get_version_params[] = { |
static bool GetVersion(Thread* thread, JSONStream* js) { |
JSONObject jsobj(js); |
jsobj.AddProperty("type", "Version"); |
- jsobj.AddProperty("major", static_cast<intptr_t>(3)); |
- jsobj.AddProperty("minor", static_cast<intptr_t>(5)); |
+ jsobj.AddProperty("major", |
+ static_cast<intptr_t>(SERVICE_PROTOCOL_MAJOR_VERSION)); |
+ jsobj.AddProperty("minor", |
+ static_cast<intptr_t>(SERVICE_PROTOCOL_MINOR_VERSION)); |
jsobj.AddProperty("_privateMajor", static_cast<intptr_t>(0)); |
jsobj.AddProperty("_privateMinor", static_cast<intptr_t>(0)); |
return true; |