Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: content/child/child_shared_bitmap_manager.cc

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: Implement buckets Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/child_shared_bitmap_manager.cc
diff --git a/content/child/child_shared_bitmap_manager.cc b/content/child/child_shared_bitmap_manager.cc
index b26de442161f2ca69c732992761c2b10c418ab31..e23317d57ddb741f567b9c0b97ec0e3febd6fc85 100644
--- a/content/child/child_shared_bitmap_manager.cc
+++ b/content/child/child_shared_bitmap_manager.cc
@@ -84,7 +84,7 @@ void CollectMemoryUsageAndDie(const gfx::Size& size, size_t alloc_size) {
SharedMemoryBitmap::SharedMemoryBitmap(uint8_t* pixels,
const cc::SharedBitmapId& id,
base::SharedMemory* shared_memory)
- : SharedBitmap(pixels, id), shared_memory_(shared_memory) {}
+ : SharedBitmap(pixels, shared_memory, id), shared_memory_(shared_memory) {}
ChildSharedBitmapManager::ChildSharedBitmapManager(
const scoped_refptr<mojom::ThreadSafeRenderMessageFilterAssociatedPtr>&

Powered by Google App Engine
This is Rietveld 408576698