| Index: third_party/WebKit/Source/platform/heap/PagePool.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/PagePool.cpp b/third_party/WebKit/Source/platform/heap/PagePool.cpp
|
| index 229732270375a88ec20776b39507402a92806330..5c75ddd422138f90cc5d0f02aac46d1ee1cdc3e1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/PagePool.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/PagePool.cpp
|
| @@ -33,13 +33,11 @@ void PagePool::add(int index, PageMemory* memory) {
|
| // while in the pool. This also allows the physical memory, backing the
|
| // page, to be given back to the OS.
|
| memory->decommit();
|
| - MutexLocker locker(m_mutex[index]);
|
| PoolEntry* entry = new PoolEntry(memory, m_pool[index]);
|
| m_pool[index] = entry;
|
| }
|
|
|
| PageMemory* PagePool::take(int index) {
|
| - MutexLocker locker(m_mutex[index]);
|
| while (PoolEntry* entry = m_pool[index]) {
|
| m_pool[index] = entry->next;
|
| PageMemory* memory = entry->data;
|
|
|