| Index: third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| diff --git a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| index 795bcd30536b3fa21a4e7021fcc05cb1a53fa9da..356d998a0629dfd7c7dbbd43f929b96511d3fcce 100644
|
| --- a/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| +++ b/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp
|
| @@ -111,4 +111,11 @@ void NavigatorVR::fireVRDisplayPresentChange(VRDisplay* display)
|
| }
|
| }
|
|
|
| +void NavigatorVR::fireVREvent(VRDisplayEvent* event)
|
| +{
|
| + if (m_frame && m_frame->localDOMWindow()) {
|
| + m_frame->localDOMWindow()->enqueueWindowEvent(event);
|
| + }
|
| +}
|
| +
|
| } // namespace blink
|
|
|