Commit 226990fb authored by Jeremy Roman's avatar Jeremy Roman Committed by Commit Bot

Remove CrossThreadPersistentRegion::mutex_.

It is unused.

Change-Id: Iff3a02c0a9fb1386ea77ca9da61ffdfa8b57a297
Reviewed-on: https://chromium-review.googlesource.com/1076985Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562807}
parent 389b08fa
......@@ -223,12 +223,6 @@ class CrossThreadPersistentRegion final {
// because we don't want to virtualize performance-sensitive methods
// such as PersistentRegion::allocate/freePersistentNode.
std::unique_ptr<PersistentRegion> persistent_region_;
// Recursive as prepareForThreadStateTermination() clears a PersistentNode's
// associated Persistent<> -- it in turn freeing the PersistentNode. And both
// CrossThreadPersistentRegion operations need a lock on the region before
// mutating.
RecursiveMutex mutex_;
};
} // namespace blink
......
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