| Index: device/vr/android/gvr/gvr_device_provider.cc
|
| diff --git a/device/vr/android/gvr/gvr_device_provider.cc b/device/vr/android/gvr/gvr_device_provider.cc
|
| index 252aa117667e09cce9ca7041c791706dc8c2a220..8a3637d25902a91e6e08143cae45ada582d26a32 100644
|
| --- a/device/vr/android/gvr/gvr_device_provider.cc
|
| +++ b/device/vr/android/gvr/gvr_device_provider.cc
|
| @@ -43,11 +43,6 @@ void GvrDeviceProvider::GetDevices(std::vector<VRDevice*>* devices) {
|
| devices->push_back(vr_device_.get());
|
| }
|
|
|
| -void GvrDeviceProvider::SetClient(VRClientDispatcher* client) {
|
| - if (!client_)
|
| - client_.reset(client);
|
| -}
|
| -
|
| void GvrDeviceProvider::Initialize() {
|
| device::GvrDelegateProvider* delegate_provider =
|
| device::GvrDelegateProvider::GetInstance();
|
| @@ -57,7 +52,6 @@ void GvrDeviceProvider::Initialize() {
|
| if (!vr_device_) {
|
| vr_device_.reset(
|
| new GvrDevice(this, delegate_provider->GetNonPresentingDelegate()));
|
| - client_->OnDeviceConnectionStatusChanged(vr_device_.get(), true);
|
| }
|
| }
|
|
|
| @@ -88,9 +82,6 @@ void GvrDeviceProvider::ExitPresent() {
|
| GAMEPAD_SOURCE_GVR);
|
|
|
| delegate_provider->ExitWebVRPresent();
|
| -
|
| - if (client_)
|
| - client_->OnPresentEnded(vr_device_.get());
|
| }
|
|
|
| void GvrDeviceProvider::OnGvrDelegateReady(GvrDelegate* delegate) {
|
|
|