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

Unified Diff: test/cctest/heap/test-heap.cc

Issue 2801073006: Decouple root visitors from object visitors. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « src/visitors.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/heap/test-heap.cc
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc
index baef3c98a6cf434075c1f58f6e55d8fdad796d14..9159d5cfaa0a04813af8553edf70f2ab1df1e6cc 100644
--- a/test/cctest/heap/test-heap.cc
+++ b/test/cctest/heap/test-heap.cc
@@ -4178,10 +4178,9 @@ TEST(LargeObjectSlotRecording) {
}
}
-
-class DummyVisitor : public ObjectVisitor {
+class DummyVisitor : public RootVisitor {
public:
- void VisitPointers(Object** start, Object** end) override {}
+ void VisitRootPointers(Root root, Object** start, Object** end) override {}
};
« no previous file with comments | « src/visitors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698