Index: content/browser/vr/vr_device_manager.h |
diff --git a/content/browser/vr/vr_device_manager.h b/content/browser/vr/vr_device_manager.h |
index 58789f767be8ffca376e78b2fb3c6a62ae0ad4bf..6c8dc9646a8d882c1b656ef1aa2b8d94aaa2005a 100644 |
--- a/content/browser/vr/vr_device_manager.h |
+++ b/content/browser/vr/vr_device_manager.h |
@@ -20,7 +20,7 @@ |
namespace content { |
-class VRDeviceManager : public VRService { |
+class VRDeviceManager : public VRService, public mojo::ErrorHandler { |
public: |
~VRDeviceManager() override; |
@@ -51,8 +51,8 @@ |
const GetSensorStateCallback& callback) override; |
void ResetSensor(uint32_t index) override; |
- // Mojo connection error handler. |
- void OnConnectionError(); |
+ // mojo::ErrorHandler implementation |
+ void OnConnectionError() override; |
using ProviderList = std::vector<linked_ptr<VRDeviceProvider>>; |
ProviderList providers_; |