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

Unified Diff: cc/resources/shared_bitmap.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/resources/shared_bitmap.h ('k') | cc/test/test_shared_bitmap_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/shared_bitmap.cc
diff --git a/cc/resources/shared_bitmap.cc b/cc/resources/shared_bitmap.cc
index 2eb128af661f4d1e2f3fccc3a3e7368fed16cbea..3990b744e5d8ab07696d7ee023532f411c1dc4d1 100644
--- a/cc/resources/shared_bitmap.cc
+++ b/cc/resources/shared_bitmap.cc
@@ -15,8 +15,10 @@
namespace cc {
-SharedBitmap::SharedBitmap(uint8_t* pixels, const SharedBitmapId& id)
- : pixels_(pixels), id_(id) {}
+SharedBitmap::SharedBitmap(uint8_t* pixels,
+ base::SharedMemory* shared_memory,
+ const SharedBitmapId& id)
+ : pixels_(pixels), shared_memory_(shared_memory), id_(id) {}
SharedBitmap::~SharedBitmap() {
}
« no previous file with comments | « cc/resources/shared_bitmap.h ('k') | cc/test/test_shared_bitmap_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698