| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index 7c3b52d74e50761451e76c140d80d860ce16ee87..d687139032a69b61d358abbfc8e5b78efb30e786 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -57,6 +57,7 @@
|
| #include "modules/device_orientation/DeviceOrientationController.h"
|
| #include "modules/gamepad/NavigatorGamepad.h"
|
| #include "modules/screen_orientation/ScreenOrientationController.h"
|
| +#include "modules/serviceworkers/NavigatorServiceWorker.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/exported/WrappedResourceRequest.h"
|
| @@ -127,6 +128,8 @@ void FrameLoaderClientImpl::dispatchDidClearWindowObjectInWorld(DOMWrapperWorld&
|
| ScreenOrientationController::from(*document);
|
| if (RuntimeEnabledFeatures::gamepadEnabled())
|
| NavigatorGamepad::from(*document);
|
| + if (RuntimeEnabledFeatures::serviceWorkerEnabled())
|
| + NavigatorServiceWorker::from(*document);
|
| }
|
| }
|
| }
|
|
|