| Index: content/common/host_shared_bitmap_manager.cc
|
| diff --git a/content/common/host_shared_bitmap_manager.cc b/content/common/host_shared_bitmap_manager.cc
|
| index ac1478fe5ea07dc244ff178382418e611bfcd95d..66f721552f95614cd78cc23ccd230da16de6e7fe 100644
|
| --- a/content/common/host_shared_bitmap_manager.cc
|
| +++ b/content/common/host_shared_bitmap_manager.cc
|
| @@ -187,6 +187,11 @@ void HostSharedBitmapManager::ProcessRemoved(
|
| process_map_.erase(proc_it);
|
| }
|
|
|
| +size_t HostSharedBitmapManager::AllocatedBitmapCount() const {
|
| + base::AutoLock lock(lock_);
|
| + return handle_map_.size();
|
| +}
|
| +
|
| void HostSharedBitmapManager::FreeSharedMemoryFromMap(
|
| cc::SharedBitmap* bitmap) {
|
| base::AutoLock lock(lock_);
|
|
|