| Index: cc/resources/shared_bitmap.h
|
| diff --git a/cc/resources/shared_bitmap.h b/cc/resources/shared_bitmap.h
|
| index 6a67cf817d780dd1eff32be84876843460363a10..c5d16d496bed6e7eafff3ca514134238c8b673fa 100644
|
| --- a/cc/resources/shared_bitmap.h
|
| +++ b/cc/resources/shared_bitmap.h
|
| @@ -8,6 +8,7 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include "base/memory/shared_memory.h"
|
| #include "base/hash.h"
|
| #include "base/macros.h"
|
| #include "base/trace_event/memory_allocator_dump.h"
|
| @@ -45,6 +46,8 @@ class CC_EXPORT SharedBitmap {
|
| // Otherwise, this returns an invalid handle.
|
| virtual base::SharedMemoryHandle GetSharedMemoryHandle() const = 0;
|
|
|
| + virtual base::SharedMemory* GetSharedMemory() const = 0;
|
| +
|
| // Returns true if the size is valid and false otherwise.
|
| static bool SizeInBytes(const gfx::Size& size, size_t* size_in_bytes);
|
| // Dies with a CRASH() if the size can not be represented as a positive number
|
|
|