Index: runtime/vm/pages.cc |
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc |
index 177b09159a0bcbe8839fffa65ec068345d7a0fd9..4b46452761a1e2530df4a880ef31e05a9d46d0e8 100644 |
--- a/runtime/vm/pages.cc |
+++ b/runtime/vm/pages.cc |
@@ -698,8 +698,7 @@ void PageSpace::PrintToJSONObject(JSONObject* object) const { |
class HeapMapAsJSONVisitor : public ObjectVisitor { |
public: |
- explicit HeapMapAsJSONVisitor(JSONArray* array) |
- : ObjectVisitor(NULL), array_(array) {} |
+ explicit HeapMapAsJSONVisitor(JSONArray* array) : array_(array) { } |
virtual void VisitObject(RawObject* obj) { |
array_->AddValue(obj->Size() / kObjectAlignment); |
array_->AddValue(obj->GetClassId()); |