Index: runtime/vm/object_service.cc |
diff --git a/runtime/vm/object_service.cc b/runtime/vm/object_service.cc |
index 650dede32c3d36e935b2a8c7925f667452df54a6..31c46cdf9ebcf4e14e6e0dedfa6184ee3a0e8771 100644 |
--- a/runtime/vm/object_service.cc |
+++ b/runtime/vm/object_service.cc |
@@ -1469,7 +1469,7 @@ void StackTrace::PrintJSONImpl(JSONStream* stream, bool ref) const { |
jsobj.AddProperty("kind", "StackTrace"); |
jsobj.AddServiceId(*this); |
intptr_t idx = 0; |
- jsobj.AddProperty("valueAsString", ToCStringInternal(&idx)); |
+ jsobj.AddProperty("valueAsString", ToCStringInternal(*this, &idx)); |
} |