The deprecated SharedMemoryHandle is used in ui/gfx/gpu_memory_buffer.h.
This struct may hold different types of handles, including SharedMemoryHandle. In order to use a shared memory region instead of the SharedMemoryHandle, we need to make this class move-only because a shared memory region cannot be copied.
The problem is that GpuMemoryBufferHandle owns the underlying handle in some cases and in some cases it doesn't. Since this object is transferred across processes, it would be safer and less error-prone to make it owning. Constant reference could be used in cases, when the GpuMemoryBufferHandle isn't owning.
This change will mainly affect the code in the following directories:
* ui/gfx
* ui/gl
* gpu/ipc/common
Comment 1 by mattcary@chromium.org
, Jun 20 2018