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

Unified Diff: content/child/child_shared_bitmap_manager.cc

Issue 2535213002: [WIP] Add SharedMemoryTracker to dump base::SharedMemory usage
Patch Set: (wip) Created 3 years, 9 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 225c569b7690239f243bad5f6ca5c7707a044817..ecad4c78a83b0768fe1e12d43b3e1a5ed320795f 100644
--- a/content/child/child_shared_bitmap_manager.cc
+++ b/content/child/child_shared_bitmap_manager.cc
@@ -29,7 +29,9 @@ class ChildSharedBitmap : public cc::SharedBitmap {
render_message_filter_ptr,
base::SharedMemory* shared_memory,
const cc::SharedBitmapId& id)
- : cc::SharedBitmap(static_cast<uint8_t*>(shared_memory->memory()), id),
+ : cc::SharedBitmap(static_cast<uint8_t*>(shared_memory->memory()),
+ shared_memory,
+ id),
render_message_filter_ptr_(render_message_filter_ptr) {}
ChildSharedBitmap(

Powered by Google App Engine
This is Rietveld 408576698