Index: device/vr/test/fake_vr_device.h |
diff --git a/device/vr/test/fake_vr_device.h b/device/vr/test/fake_vr_device.h |
index 178610eaacccb3238c582e93013b4402d0da1806..6e121c42dbf3f008cd95758c6767509ed3e81c7b 100644 |
--- a/device/vr/test/fake_vr_device.h |
+++ b/device/vr/test/fake_vr_device.h |
@@ -23,8 +23,8 @@ class FakeVRDevice : public VRDevice { |
void SetVRDevice(const mojom::VRDisplayInfoPtr& device); |
// VRDevice |
- void GetVRDevice( |
- const base::Callback<void(mojom::VRDisplayInfoPtr)>& callback) override; |
+ void CreateVRDisplayInfo( |
+ const base::Callback<void(mojom::VRDisplayInfoPtr)>& onCreated) override; |
void ResetPose() override; |
void RequestPresent(const base::Callback<void(bool)>& callback) override; |
@@ -39,7 +39,7 @@ class FakeVRDevice : public VRDevice { |
private: |
mojom::VREyeParametersPtr InitEye(float fov, float offset, uint32_t size); |
- mojom::VRDisplayInfoPtr device_; |
+ mojom::VRDisplayInfoPtr display_info_; |
DISALLOW_COPY_AND_ASSIGN(FakeVRDevice); |
}; |