Index: device/vr/android/gvr/gvr_device.cc |
diff --git a/device/vr/android/gvr/gvr_device.cc b/device/vr/android/gvr/gvr_device.cc |
index f0a86e2fd9a94fb14ecff45c05a1d120fa63521a..8a18d45fe038684838e6a73854934b74714645b9 100644 |
--- a/device/vr/android/gvr/gvr_device.cc |
+++ b/device/vr/android/gvr/gvr_device.cc |
@@ -24,13 +24,13 @@ GvrDevice::GvrDevice(GvrDeviceProvider* provider) |
GvrDevice::~GvrDevice() {} |
-void GvrDevice::GetVRDevice( |
- const base::Callback<void(mojom::VRDisplayInfoPtr)>& callback) { |
+void GvrDevice::CreateVRDisplayInfo( |
+ const base::Callback<void(mojom::VRDisplayInfoPtr)>& onCreated) { |
GvrDelegate* delegate = GetGvrDelegate(); |
if (delegate) { |
- delegate->CreateVRDisplayInfo(callback, id()); |
+ delegate->CreateVRDisplayInfo(onCreated, id()); |
} else { |
- callback.Run(mojom::VRDisplayInfoPtr(nullptr)); |
+ onCreated.Run(mojom::VRDisplayInfoPtr(nullptr)); |
} |
} |