Chromium Code Reviews| Index: Source/web/FrameLoaderClientImpl.cpp |
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp |
| index b76693c6ca71a02fbe1b40291fde72537da8624c..63029f3753521fb4452db3caab47c0090ddcf604 100644 |
| --- a/Source/web/FrameLoaderClientImpl.cpp |
| +++ b/Source/web/FrameLoaderClientImpl.cpp |
| @@ -118,8 +118,7 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld() |
| DeviceOrientationController::from(*document); |
| if (RuntimeEnabledFeatures::deviceLightEnabled()) |
| DeviceLightController::from(*document); |
| - if (RuntimeEnabledFeatures::gamepadEnabled()) |
| - NavigatorGamepad::from(*document); |
| + NavigatorGamepad::from(*document); |
|
eseidel
2014/10/07 16:06:57
I'm not sure why we're instantiating a NavigatorGa
|
| if (RuntimeEnabledFeatures::serviceWorkerEnabled()) |
| NavigatorServiceWorker::from(*document); |
| } |