| Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| index e5712bb613f807a4273fbe62cd9d4562896d7ea6..3fa95b1acba63daf17ed614e1a0d8f96c0bfaa36 100644
|
| --- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
|
| @@ -57,6 +57,7 @@
|
| #include "modules/audio_output_devices/AudioOutputDeviceClient.h"
|
| #include "modules/installedapp/InstalledAppController.h"
|
| #include "modules/mediastream/UserMediaController.h"
|
| +#include "modules/navigatorcontentutils/NavigatorContentUtils.h"
|
| #include "modules/presentation/PresentationController.h"
|
| #include "modules/push_messaging/PushController.h"
|
| #include "modules/screen_orientation/ScreenOrientationControllerImpl.h"
|
| @@ -1155,8 +1156,9 @@ void ChromeClientImpl::installSupplements(LocalFrame& frame) {
|
| UserMediaClientImpl::create(client->userMediaClient()));
|
| provideIndexedDBClientTo(frame, IndexedDBClientImpl::create(frame));
|
| provideLocalFileSystemTo(frame, LocalFileSystemClient::create());
|
| - provideNavigatorContentUtilsTo(
|
| - frame, NavigatorContentUtilsClientImpl::create(webFrame));
|
| + NavigatorContentUtils::provideTo(
|
| + *frame.domWindow()->navigator(),
|
| + NavigatorContentUtilsClientImpl::create(webFrame));
|
|
|
| ScreenOrientationControllerImpl::provideTo(
|
| frame, client->webScreenOrientationClient());
|
|
|