Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: runtime/vm/pages.cc

Issue 1838373002: Remove unnecessary isolate argument from some visitors (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanup Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698