Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index c4f9600ba7072c62608d9cc509cce8ca9045203e..680e1cc4ad74b748aca7952dc30672973a2eae08 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1711,11 +1711,11 @@ bool V8HeapExplorer::ExtractAccessorPairProperty( |
AccessorPair* accessors = AccessorPair::cast(callback_obj); |
Object* getter = accessors->getter(); |
if (!getter->IsOddball()) { |
- SetPropertyReference(js_obj, entry, String::cast(key), getter, "get %s"); |
+ SetPropertyReference(js_obj, entry, Name::cast(key), getter, "get %s"); |
} |
Object* setter = accessors->setter(); |
if (!setter->IsOddball()) { |
- SetPropertyReference(js_obj, entry, String::cast(key), setter, "set %s"); |
+ SetPropertyReference(js_obj, entry, Name::cast(key), setter, "set %s"); |
} |
return true; |
} |