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

Unified Diff: src/api-arguments.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
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api-arguments.h
diff --git a/src/api-arguments.h b/src/api-arguments.h
index 6c9ad7ad6b93f2f411eaad49e1280b67e499df2b..ca7b4833e9947e41b1e3e2009e699e4e88d2b823 100644
--- a/src/api-arguments.h
+++ b/src/api-arguments.h
@@ -7,6 +7,7 @@
#include "src/api.h"
#include "src/isolate.h"
+#include "src/visitors.h"
namespace v8 {
namespace internal {
@@ -17,8 +18,8 @@ namespace internal {
template <int kArrayLength>
class CustomArgumentsBase : public Relocatable {
public:
- virtual inline void IterateInstance(ObjectVisitor* v) {
- v->VisitPointers(values_, values_ + kArrayLength);
+ virtual inline void IterateInstance(RootVisitor* v) {
+ v->VisitRootPointers(Root::kRelocatable, values_, values_ + kArrayLength);
}
protected:
« no previous file with comments | « src/api.cc ('k') | src/bootstrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698