chore: remove test usages of createIDWeakMap (#24116)

This commit is contained in:
Jeremy Rose
2020-06-15 13:56:51 -07:00
committed by GitHub
parent 8412aae231
commit c0182bca15
4 changed files with 8 additions and 11 deletions

View File

@@ -151,8 +151,6 @@ void Initialize(v8::Local<v8::Object> exports,
"createDoubleIDWeakMap",
&electron::api::KeyWeakMap<std::pair<std::string, int32_t>>::Create);
#endif
dict.SetMethod("createIDWeakMap",
&electron::api::KeyWeakMap<int32_t>::Create);
dict.SetMethod("requestGarbageCollectionForTesting",
&RequestGarbageCollectionForTesting);
dict.SetMethod("isSameOrigin", &IsSameOrigin);