Chromium Code Reviews| Index: Source/web/FrameLoaderClientImpl.cpp |
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp |
| index 706b4b622586cadc904d4564a73962bc2aa981a7..1ab4a5fe79dcf99b2be2a1b3281ae49c91b14feb 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); |
|
sof
2015/02/24 12:35:29
Doesn't this need to be conditionally enabled?
|
| if (RuntimeEnabledFeatures::serviceWorkerEnabled()) |
| NavigatorServiceWorker::from(*document); |
| DOMWindowStorageController::from(*document); |