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

Unified Diff: content/child/child_shared_bitmap_manager.cc

Issue 2775423003: Add ownership edges between HostSharedBitmap and shared memory
Patch Set: Fix comments 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
« no previous file with comments | « cc/test/test_shared_bitmap_manager.cc ('k') | content/common/host_shared_bitmap_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « cc/test/test_shared_bitmap_manager.cc ('k') | content/common/host_shared_bitmap_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698