Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 9eb987d19117f5d39b41f3463853a5ec5596e477..5bd2d9d40132047b83f79631f989e1d2fb77a316 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -136,8 +136,8 @@ class Symbols; |
/* Object is printed as JSON into stream. If ref is true only a header */ \ |
/* with an object id is printed. If ref is false the object is fully */ \ |
/* printed. */ \ |
- virtual const char* JSONType(bool ref) const { \ |
- return ref ? "@"#object : ""#object; \ |
+ virtual const char* JSONType() const { \ |
+ return ""#object; \ |
} \ |
static const ClassId kClassId = k##object##Cid; \ |
protected: /* NOLINT */ \ |
@@ -281,7 +281,7 @@ class Object { |
void PrintJSON(JSONStream* stream, bool ref = true) const; |
- virtual const char* JSONType(bool ref) const { |
+ virtual const char* JSONType() const { |
return IsNull() ? "null" : "Object"; |
} |