Index: content/browser/device_sensors/device_inertial_sensor_service.cc |
diff --git a/content/browser/device_sensors/device_inertial_sensor_service.cc b/content/browser/device_sensors/device_inertial_sensor_service.cc |
index 33f083d11fd46b8c5ca11b7da4777a19a7385e88..2ae3881db48fecb52d45c55c8fdff7c93c21c8ac 100644 |
--- a/content/browser/device_sensors/device_inertial_sensor_service.cc |
+++ b/content/browser/device_sensors/device_inertial_sensor_service.cc |
@@ -93,11 +93,10 @@ int DeviceInertialSensorService::GetNumberConsumers( |
return 0; |
} |
-base::SharedMemoryHandle |
-DeviceInertialSensorService::GetSharedMemoryHandleForProcess( |
- ConsumerType consumer_type, base::ProcessHandle handle) { |
+mojo::ScopedSharedBufferHandle |
+DeviceInertialSensorService::GetSharedMemoryHandle(ConsumerType consumer_type) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
- return data_fetcher_->GetSharedMemoryHandleForProcess(consumer_type, handle); |
+ return data_fetcher_->GetSharedMemoryHandle(consumer_type); |
} |
void DeviceInertialSensorService::Shutdown() { |