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

Unified Diff: content/child/child_shared_bitmap_manager.h

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.cc ('k') | content/common/host_shared_bitmap_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_shared_bitmap_manager.h
diff --git a/content/child/child_shared_bitmap_manager.h b/content/child/child_shared_bitmap_manager.h
index e4d6b4989fd1772d47d37d881108f8dc90be97df..0d3bc10793a9b754348777d68b68307418a76f93 100644
--- a/content/child/child_shared_bitmap_manager.h
+++ b/content/child/child_shared_bitmap_manager.h
@@ -18,13 +18,15 @@ class ChildSharedBitmapManager : public cc::SharedBitmapManager {
ChildSharedBitmapManager(scoped_refptr<ThreadSafeSender> sender);
~ChildSharedBitmapManager() override;
+ // cc::SharedBitmapManager implementation.
scoped_ptr<cc::SharedBitmap> AllocateSharedBitmap(
const gfx::Size& size) override;
scoped_ptr<cc::SharedBitmap> GetSharedBitmapFromId(
const gfx::Size&,
const cc::SharedBitmapId&) override;
+
scoped_ptr<cc::SharedBitmap> GetBitmapForSharedMemory(
- base::SharedMemory* mem) override;
+ base::SharedMemory* mem);
private:
scoped_refptr<ThreadSafeSender> sender_;
« no previous file with comments | « cc/test/test_shared_bitmap_manager.cc ('k') | content/common/host_shared_bitmap_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698