Index: src/objects-visiting.cc |
diff --git a/src/objects-visiting.cc b/src/objects-visiting.cc |
index aea8a092ab1bf528554cc9e7f6da249e78c5062b..708f8cf8fc707b6e8d96150473f119708c34281c 100644 |
--- a/src/objects-visiting.cc |
+++ b/src/objects-visiting.cc |
@@ -88,10 +88,8 @@ StaticVisitorBase::VisitorId StaticVisitorBase::GetVisitorId( |
JSMap::kSize); |
case JS_WEAK_MAP_TYPE: |
- return kVisitJSWeakMap; |
- |
case JS_WEAK_SET_TYPE: |
- return kVisitJSWeakSet; |
+ return kVisitJSWeakCollection; |
case JS_REGEXP_TYPE: |
return kVisitJSRegExp; |