The deprecated base::SharedMemory is used in device/gamepad/gamepad_shared_buffer.h
GamepadSharedBuffer is shared as read-only, so it should be replaced with base::ReadOnlySharedMemoryRegion.
There is an outstanding issue 670655 with the intention to convert the base::SharedMemory to the mojo::SharedBuffer in GamepadSharedBuffer. It couldn't be done because the gamepad buffer is also sent to Pepper and Pepper doesn't work with mojo. However, Pepper already supports the new shared memory API, so this attempt should be successful.
This change touches files in following directories:
- device/gamepad/*
- ppapi/proxy/*
- third_party/blink/renderer/modules/gamepad/*
Comment 1 by bugdroid1@chromium.org
, Jul 19