Handle multiple modal windows correctly
This commit is contained in:
parent
3f34f80433
commit
1104dded24
4 changed files with 59 additions and 28 deletions
|
@ -53,7 +53,7 @@ class KeyWeakMap {
|
|||
}
|
||||
|
||||
// Returns all objects.
|
||||
std::vector<v8::Local<v8::Object>> Values(v8::Isolate* isolate) {
|
||||
std::vector<v8::Local<v8::Object>> Values(v8::Isolate* isolate) const {
|
||||
std::vector<v8::Local<v8::Object>> keys;
|
||||
keys.reserve(map_.size());
|
||||
for (const auto& iter : map_) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue