| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index ab89c55833256ae68f06e0dd4f509a058a886840..d1766cb0d3c8f83b5225b6794e72971ab2b3787c 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -56,6 +56,7 @@
|
| #include "modules/device_orientation/DeviceOrientationController.h"
|
| #include "modules/gamepad/NavigatorGamepad.h"
|
| #include "modules/serviceworkers/NavigatorServiceWorker.h"
|
| +#include "modules/vr/NavigatorVRDevice.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/UserGestureIndicator.h"
|
| @@ -127,6 +128,7 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()
|
| if (RuntimeEnabledFeatures::deviceLightEnabled())
|
| DeviceLightController::from(*document);
|
| NavigatorGamepad::from(*document);
|
| + NavigatorVRDevice::from(*document);
|
| if (RuntimeEnabledFeatures::serviceWorkerEnabled())
|
| NavigatorServiceWorker::from(*document);
|
| DOMWindowStorageController::from(*document);
|
|
|