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

Unified Diff: src/snapshot/serializer.h

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
Index: src/snapshot/serializer.h
diff --git a/src/snapshot/serializer.h b/src/snapshot/serializer.h
index a5131acbf9f9419e2afffdebe34c9d72f169e133..b526a79201fb5895f982c4d09967ab4b246214c9 100644
--- a/src/snapshot/serializer.h
+++ b/src/snapshot/serializer.h
@@ -156,7 +156,7 @@ class Serializer : public SerializerDeserializer {
virtual void SerializeObject(HeapObject* o, HowToCode how_to_code,
WhereToPoint where_to_point, int skip) = 0;
- void VisitPointers(Object** start, Object** end) override;
+ void VisitRootPointers(Root root, Object** start, Object** end) override;
void PutRoot(int index, HeapObject* object, HowToCode how, WhereToPoint where,
int skip);

Powered by Google App Engine
This is Rietveld 408576698