Index: device/gamepad/gamepad_service.cc |
diff --git a/device/gamepad/gamepad_service.cc b/device/gamepad/gamepad_service.cc |
index 3335b256473e3e71b5d088b022a216ea36ac17a0..3a86e40623f85848529f5bdd3787755e6c2f9a31 100644 |
--- a/device/gamepad/gamepad_service.cc |
+++ b/device/gamepad/gamepad_service.cc |
@@ -140,10 +140,9 @@ void GamepadService::OnGamepadDisconnected(int index, const Gamepad& pad) { |
} |
} |
-base::SharedMemoryHandle GamepadService::GetSharedMemoryHandleForProcess( |
- base::ProcessHandle handle) { |
+base::SharedMemoryHandle GamepadService::DuplicateSharedMemoryHandle() { |
DCHECK(main_thread_task_runner_->BelongsToCurrentThread()); |
- return provider_->GetSharedMemoryHandleForProcess(handle); |
+ return provider_->DuplicateSharedMemoryHandle(); |
} |
mojo::ScopedSharedBufferHandle GamepadService::GetSharedBufferHandle() { |