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

Unified Diff: runtime/vm/scavenger_test.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/profiler.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger_test.cc
diff --git a/runtime/vm/scavenger_test.cc b/runtime/vm/scavenger_test.cc
index 1ab6bdfe5803f8c97fa4a5a1c9563787f6bede72..9776ccafc4a310d77a8fa4b0e8f350fbb7167573 100644
--- a/runtime/vm/scavenger_test.cc
+++ b/runtime/vm/scavenger_test.cc
@@ -12,7 +12,7 @@ namespace dart {
// Expects to visit no objects (since the space should be empty).
class FailingObjectVisitor : public ObjectVisitor {
public:
- FailingObjectVisitor() : ObjectVisitor(NULL) {}
+ FailingObjectVisitor() { }
virtual void VisitObject(RawObject* obj) {
EXPECT(false);
}
@@ -30,7 +30,7 @@ class FailingObjectPointerVisitor : public ObjectPointerVisitor {
// Expects to visit no objects (since the space should be empty).
class FailingFindObjectVisitor : public FindObjectVisitor {
public:
- FailingFindObjectVisitor() : FindObjectVisitor(NULL) {}
+ FailingFindObjectVisitor() { }
virtual bool FindObject(RawObject* obj) const {
EXPECT(false);
return false;
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698