Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / content / common / host_shared_bitmap_manager.cc
index ac1478f..66f7215 100644 (file)
@@ -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_);