| Index: cc/resources/shared_bitmap.cc
|
| diff --git a/cc/resources/shared_bitmap.cc b/cc/resources/shared_bitmap.cc
|
| index 2eb128af661f4d1e2f3fccc3a3e7368fed16cbea..e5d84ed5adcb68c44fee001736a6080bf2431141 100644
|
| --- a/cc/resources/shared_bitmap.cc
|
| +++ b/cc/resources/shared_bitmap.cc
|
| @@ -8,6 +8,7 @@
|
| #include <stdint.h>
|
|
|
| #include "base/logging.h"
|
| +#include "base/memory/shared_memory_handle.h"
|
| #include "base/numerics/safe_math.h"
|
| #include "base/rand_util.h"
|
| #include "base/strings/string_number_conversions.h"
|
| @@ -21,6 +22,10 @@ SharedBitmap::SharedBitmap(uint8_t* pixels, const SharedBitmapId& id)
|
| SharedBitmap::~SharedBitmap() {
|
| }
|
|
|
| +base::SharedMemoryHandle SharedBitmap::shared_memory_handle() const {
|
| + return base::SharedMemoryHandle();
|
| +}
|
| +
|
| // static
|
| bool SharedBitmap::SizeInBytes(const gfx::Size& size, size_t* size_in_bytes) {
|
| if (size.IsEmpty())
|
|
|