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: |