Index: Source/web/FrameLoaderClientImpl.cpp |
diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp |
index 096eb4f301f0fb68f767a65f58e36d0d29b90ffb..8909bcee88913ceda197cf2575af32058170ccbc 100644 |
--- a/Source/web/FrameLoaderClientImpl.cpp |
+++ b/Source/web/FrameLoaderClientImpl.cpp |
@@ -116,10 +116,9 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld() |
if (document) { |
DeviceMotionController::from(*document); |
DeviceOrientationController::from(*document); |
+ NavigatorGamepad::from(*document); |
if (RuntimeEnabledFeatures::deviceLightEnabled()) |
DeviceLightController::from(*document); |
- if (RuntimeEnabledFeatures::gamepadEnabled()) |
- NavigatorGamepad::from(*document); |
if (RuntimeEnabledFeatures::serviceWorkerEnabled()) |
NavigatorServiceWorker::from(*document); |
} |