| Index: third_party/WebKit/Source/modules/vr/VRController.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/VRController.cpp b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| index 543ee14076b90407e251b25650efc9a4b34d961a..bd38af79724cc6d92b1447a17156e20648246a5a 100644
|
| --- a/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/VRController.cpp
|
| @@ -28,7 +28,7 @@ VRController* VRController::from(LocalFrame& frame)
|
|
|
| VRController::VRController(LocalFrame& frame, WebVRClient* client)
|
| : LocalFrameLifecycleObserver(&frame)
|
| - , m_client(client)
|
| + , m_client(static_cast<VRDispatcher*>(client))
|
| {
|
| }
|
|
|
| @@ -75,6 +75,7 @@ DEFINE_TRACE(VRController)
|
| {
|
| WillBeHeapSupplement<LocalFrame>::trace(visitor);
|
| LocalFrameLifecycleObserver::trace(visitor);
|
| + visitor->trace(m_client);
|
| }
|
|
|
| } // namespace blink
|
|
|