Commit fff6cdf2 authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[snapshot] Remove overzealous DISALLOW_GARBAGE_COLLECTION

As of https://chromium-review.googlesource.com/c/v8/v8/+/2452689 ,
ObjectCacheIndexMap uses IdentityMap which deals with GC gracefully.

Change-Id: I6d43ee2c1e330556b0ab7e4a6c313d5b37086343
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2742615Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73266}
parent fb6d4ba1
...@@ -151,8 +151,6 @@ class ObjectCacheIndexMap { ...@@ -151,8 +151,6 @@ class ObjectCacheIndexMap {
} }
private: private:
DISALLOW_GARBAGE_COLLECTION(no_gc_)
IdentityMap<int, base::DefaultAllocationPolicy> map_; IdentityMap<int, base::DefaultAllocationPolicy> map_;
int next_index_; int next_index_;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment