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

Unified Diff: cc/test/test_shared_bitmap_manager.cc

Issue 795843002: Remove GetBitmapForSharedMemory from cc::SharedBitmapManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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.h ('k') | content/child/child_shared_bitmap_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_shared_bitmap_manager.cc
diff --git a/cc/test/test_shared_bitmap_manager.cc b/cc/test/test_shared_bitmap_manager.cc
index 933dcd25db4d8d3ce68b201c249863b7d5e93d8f..b96d01837ae73645c0e3e845a565e3d0a8a4df81 100644
--- a/cc/test/test_shared_bitmap_manager.cc
+++ b/cc/test/test_shared_bitmap_manager.cc
@@ -63,12 +63,4 @@ scoped_ptr<SharedBitmap> TestSharedBitmapManager::GetSharedBitmapFromId(
return make_scoped_ptr(new UnownedSharedBitmap(bitmap_map_[id], id));
}
-scoped_ptr<SharedBitmap> TestSharedBitmapManager::GetBitmapForSharedMemory(
- base::SharedMemory* memory) {
- base::AutoLock lock(lock_);
- SharedBitmapId id = SharedBitmap::GenerateId();
- bitmap_map_[id] = memory;
- return make_scoped_ptr(new UnownedSharedBitmap(memory, id));
-}
-
} // namespace cc
« no previous file with comments | « cc/test/test_shared_bitmap_manager.h ('k') | content/child/child_shared_bitmap_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698